Color codes
- HEX
- #4b0082
- RGB
- rgb(75, 0, 130)
- HSL
- hsl(275 100% 25%)
- CMYK
- cmyk(42% 100% 0% 49%)
- OKLCH
- oklch(33.9% 0.179 302)
CSS named color
rgb(75, 0, 130)
12.95:1 on white
AAA for normal and large text
1.62:1 on black
Fails WCAG AA
indigo is written as #4b0082 in hex, rgb(75, 0, 130) in RGB and hsl(275 100% 25%) in HSL. Its lightness sits at 25%, which is why it reads aaa for normal and large text against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.