Description
Indigo has a hue of 275°, saturation 100% and lightness 25%, which places it in the purple family. Its strongest channel is blue (130).
Using indigo in CSS
.title { color: indigo; }
.box { background: indigo; border-color: #4b0082; }
.soft { background: rgb(75 0 130 / 20%); } /* indigo at 20% opacity */Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.
Similar named colors
| Color | HEX | RGB | ΔE 2000 |
|---|---|---|---|
| darkblue | #00008b | 0, 0, 139 | 7.7 |
| navy | #000080 | 0, 0, 128 | 7.9 |
| midnightblue | #191970 | 25, 25, 112 | 8.9 |
| rebeccapurple | #663399 | 102, 51, 153 | 9.6 |
| purple | #800080 | 128, 0, 128 | 10.9 |
| mediumblue | #0000cd | 0, 0, 205 | 11 |
| darkslateblue | #483d8b | 72, 61, 139 | 12.2 |
| darkmagenta | #8b008b | 139, 0, 139 | 12.4 |
ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.
Pairs well with
Readability
Contrast with white text: 12.95:1; with black text: 1.62:1. White body text on indigo meets WCAG AA.