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.

FormatValue
HEX#4B0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
CMYK42%, 100%, 0%, 49%
CSS nameindigo
.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.

#378200Complementary
#0A0082Analogous
#820078Analogous
#824B00Triadic
#00824BTriadic

Tints and shades of indigo

Tints mix the color with white; shades mix it with black.

#EDE6F390% white
#D2BFE075% white
#B799CD60% white
#9C73BA45% white
#814DA830% white
#66269515% white
#4B0082Base
Indigo
#40006F15% black
#35005B30% black
#29004845% black
#1E003460% black
#13002175% black
#08000D90% black

Contrast and readability

Black text
1.62:1
fails
White text
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.