Indigo color — #4B0082
Indigo is a CSS named color with the HEX code #4B0082, RGB value rgb(75, 0, 130) and HSL value hsl(275, 100%, 25%).
Purple
Indigo
#4B0082
Color codes
- HEX
- #4B0082
- RGB
- rgb(75, 0, 130)
- HSL
- hsl(275, 100%, 25%)
- HSV
- hsv(275, 100%, 51%)
- CMYK
- cmyk(42%, 100%, 0%, 49%)
- OKLCH
- oklch(33.9% 0.1793 301.68)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: indigo;
background-color: #4b0082;
border-color: rgb(75, 0, 130);
outline-color: hsl(275, 100%, 25%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Indigo — On white12.95:1 · AAA
Indigo — On black1.62:1 · Fail