EN

Indigo Color #4B0082

Indigo · #4B0082

Indigo color codes

HEX#4B0082
RGBrgb(75, 0, 130)
HSLhsl(274.6, 100%, 25.5%)
HSVhsv(274.6, 100%, 51%)
OKLCHoklch(0.339 0.179 301.7)
CSS--indigo: #4B0082;

White text is the readable choice on Indigo: 12.95:1.

About the name indigo

Comes from the ancient indigo dye; the word goes back through Latin to a Greek term meaning "Indian", because the dye reached Europe from India. (Wikipedia)

Indigo is a CSS named color: you can write indigo instead of #4B0082 in any stylesheet. The name has no single standard value; the value shown here is the most widely cited one.

Three different values on Wikipedia: CSS/web indigo 4B0082, the article's lead value 4000FF, and List of colors 6A5DFF.

Other common values for this name
Indigo (Wikipedia lead value, CIECAM16 / color wheel)#4000FF
Indigo (Wikipedia List of colors G-M)#6A5DFF

Indigo shades and tints

Click a swatch to copy it. The middle swatch is the base color; steps are even in OKLCH lightness.

Colors that go with indigo

Complementary#378200What are complementary colors?
Analogous#0A0082 · #820078What are analogous colors?
Split complementary#788200 · #00820AWhat are split complementary colors?
Triadic#824B00 · #00824BWhat are triadic colors?

Text contrast on indigo

Aa IndigoOn white: 12.95:1AA Pass
Aa IndigoOn black: 1.62:1AA Fail
Aa White text12.95:1AA Pass

Check other pairs in the contrast checker

Indigo color palettes

Complementary palette
Analogous palette
Monochromatic palette
Triadic palette

From our palette collections

Indigo gradients

background: linear-gradient(135deg, #BCA8DD 0%, #4B0082 100%);
background: linear-gradient(90deg, #4B0082 0%, #820078 100%);
background: linear-gradient(135deg, #4B0082 0%, #378200 100%);

Indigo in CSS

:root {
  --indigo: #4B0082;
  --indigo-rgb: 75, 0, 130;
}

.button {
  background: var(--indigo);
  color: #FFFFFF; /* 12.95:1 */
}

Tailwind: bg-[#4B0082] · text-[#4B0082]

Colors similar to indigo

All shades of purple →

Frequently asked questions

What is the hex code for indigo?

Indigo is #4B0082 (the CSS color name indigo). In RGB it is rgb(75, 0, 130) and in HSL hsl(274.6, 100%, 25.5%). The name has no single standard value; other common values are listed above.

What colors go with indigo?

On the color wheel, indigo (#4B0082) pairs with its complement #378200, its analogous colors #0A0082 and #820078, and the triadic colors #824B00 and #00824B. Lighter tints and darker shades of indigo itself also make an easy monochromatic scheme.

What text color works on indigo?

White text is the readable choice on Indigo: 12.95:1. Indigo text on white is 12.95:1 (passes WCAG AA for normal text) and on black 1.62:1 (fails).

What is the RGB value of indigo?

Indigo (#4B0082) is red 75, green 0 and blue 130: rgb(75, 0, 130).

Sources

  • W3C, CSS Color Module Level 4: named colors
  • Wikipedia, Indigo (color) (revision 1386873400); text adapted under CC BY-SA 4.0
  • Cross-checked: Wikipedia 'List of colors: G–M' (rev 1382249612), entry 'Indigo'
  • RGB, HSL, OKLCH, shades, harmonies and contrast are computed with SwatchNest's tested color library. Updated 2026-11-24