Home / Colors / Indigo hex code

Indigo hex code

A deep blue-violet named after the indigo dye plant.

#4B0082 Indigo
HEX#4B0082
RGBrgb(75, 0, 130)
HSLhsl(275, 100%, 25%)
HSVhsv(275, 100%, 51%)
CMYKcmyk(42%, 100%, 0%, 49%)
Advertisement

About indigo

A deep blue-violet named after the indigo dye plant. This is the CSS indigo. Its hex code is #4B0082, which is rgb(75, 0, 130): 75 red, 0 green and 130 blue on a scale of 0 to 255.

Indigo is a cool color.

Indigo tints and shades

Lighter tints (mixed with white) and darker shades (mixed with black) of indigo. Click any of them to copy its hex code.

Colors that go with indigo

Complementary

The opposite color on the color wheel, for strong contrast.

Analogous

Neighbors on the color wheel, for a calm, matching look.

Triadic

Three colors evenly spaced around the wheel, for a balanced, lively palette.

Split complementary

The two colors either side of the complement: contrast without clashing.

Text on indigo

White text

12.95:1 · Passes AAA for all text

Black text

1.62:1 · Fails for text

For readable text, WCAG asks for a contrast ratio of at least 4.5:1 (3:1 for large text). White text is the better choice on indigo. Test other combinations with the contrast checker.

Using indigo in CSS

.element {
  color: #4B0082;
  background-color: rgb(75 0 130);
  border-color: hsl(275 100% 25%);
}
Advertisement

Frequently asked questions

What is the hex code for indigo?

Indigo is #4B0082. In RGB it's rgb(75, 0, 130), and in HSL it's hsl(275, 100%, 25%).

What colors go with indigo?

Its complementary color is #378200, which gives strong contrast. For a softer look, use analogous colors #0A0082 and #820078. Indigo also pairs well with white.

Is indigo warm or cool?

Indigo is a cool color.

Should I use white or black text on indigo?

Use white text. Its contrast ratio on indigo is 12.95:1, versus 1.62:1 for black.

Similar colors

See all popular colors · All HTML color names · Open indigo in the color picker

Advertisement