Indigo
Indigo is a very dark, saturated violet color with the hex code #4B0082 (hue 275°, saturation 100%, lightness 25%). It is also the CSS named color indigo.
- HEX
#4B0082 - RGB
rgb(75 0 130) - HSL
hsl(275 100% 25%) - OKLCH
oklch(33.9% 0.179 302)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Indigo | #4B0082 | 75, 0, 130 | 275°, 100%, 25% | 42, 100, 0, 49 | 33.9% 0.179 302 |
Contrast with white text 12.95:1, with black text 1.62:1 — use white text on Indigo.
indigo is one of the 148 named colors in CSS, with exactly this value, so color: indigo works in any browser without a hex code.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Indigo
Move the sliders to make Indigo lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#4B0082 - RGB
rgb(75 0 130) - HSL
hsl(275 100% 25%)
Variations of Indigo
Text on Indigo
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Indigo with color blindness
How Indigo appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Indigo
Six color schemes built on Indigo with classic harmony rules. The complementary scheme pairs it with Green People (#388004), the color opposite it on the color wheel.
- Indigo Complementary Color Scheme#4B0082#8806CE#388004#133700#66EE00
- Indigo Analogous Color Scheme#003686#000080#4B0082#81007F#880033
- Indigo Triadic Color Scheme#4B0082#804A00#00844B#8F00F1#341C02
- Indigo Split-complementary Color Scheme#4B0082#758000#00800C#160435#BFCF00
- Indigo Tetradic Color Scheme#4B0082#840804#388004#007B84#8F00F1
- Indigo Monochromatic Color Scheme#0B0119#160435#4B0082#6600CC#9F0FEF
Nearest CSS named colors
- Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Indigo (relative luminance 0.021 vs 0.031) and less saturated, with its hue 35° away. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Indigo (relative luminance 0.066 vs 0.031) and less saturated, with its hue 26° away. - Rebecca Purple (
rebeccapurple): Rebecca Purple (#663399) is lighter than Indigo (relative luminance 0.075 vs 0.031) and less saturated, with its hue 5° away. - Purple (
purple): Purple (#800080) is lighter than Indigo (relative luminance 0.061 vs 0.031) and equally saturated, with its hue 25° away.
Gradients with Indigo
Similar dark purple colors
- Acai#48295B
- Blackmail#220066
- Call It a Night#42364C
- Child of the Night#220077
- Dark Dreams#332266
- Drifting Violet#5B4276
- Elegant Purple Gown#552367
- Explorer of the Galaxies#3A1F76
- Extraviolet#661188
- Fabric of Space#341758
- Fading Horizon#442266
- Fuchsia Nebula#7722AA
- Galactic Civilization#442288
- Galactic Compass#48357B
- Galactic Federation#330077
- Galactic Grapevine#6B327B
- Haunted Candelabra#57446A
- Heartless#623B70
Questions
What is the hex code for Indigo?
#4B0082 — RGB 75, 0, 130, HSL 275°, 100%, 25%.
Is Indigo a warm or cool color?
Cool — its hue sits at 275° on the color wheel.