Indigo Color
HEX #4B0082 · rgb(75, 0, 130) · hsl(275, 100%, 25%)
Indigo color codes
Indigo is one of the named colors every browser understands. In CSS you can write it as indigo or #4B0082.
| Format | Value | |
|---|---|---|
| HEX | #4B0082 | |
| RGB | rgb(75, 0, 130) | |
| HSL | hsl(275, 100%, 25%) | |
| CMYK | 42%, 100%, 0%, 49% | |
| CSS name | indigo |
.example {
color: indigo;
background-color: #4B0082;
border-color: rgb(75, 0, 130);
}
Colors that go with indigo
These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.
Tints and shades of indigo
Tints mix the color with white; shades mix it with black.
Indigo
Contrast and readability
1.62:1
fails
12.95:1
passes AA and AAA
Use white text on indigo. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.
Frequently asked questions
What is the hex code for indigo?
The hex code for indigo is #4B0082.
What is the RGB value of indigo?
Indigo is rgb(75, 0, 130): 75 red, 0 green and 130 blue on a 0 to 255 scale.
What color goes with indigo?
Its complementary color is #378200, which is closest to the named color forest green. Analogous and triadic matches are listed on this page.
Should text on indigo be black or white?
Use white text. The contrast ratio is 1.62:1 with black and 12.95:1 with white. WCAG AA asks for at least 4.5:1 for normal text.
Similar named colors
Pick any other color with the color picker, or browse all named colors.