Indigo #4B0082
Indigo is one of the named colours in CSS, written indigo. White text reaches 12.95:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | indigo |
|---|---|
| HEX | #4B0082 |
| RGB | rgb(75 0 130) |
| HSL | hsl(275 100% 25%) |
| OKLCH | oklch(33.9% 0.179 301.7) |
| White text | 12.95:1 · body text AA Pass |
| Black text | 1.62:1 · body text AA Fail |
Colours that go with Indigo
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Red Violet (#59256A), the nearest, though visibly different. These are the colours Wada paired it with, ranked by their contrast with Indigo itself.
| Colour | HEX | Contrast with Indigo | Body text AA |
|---|---|---|---|
| Orange Yellow | #FCB315 | 7.15:1 | Pass |
| Isabella Color | #C5A56E | 5.54:1 | Pass |
| Eosine Pink | #F37F94 | 5.10:1 | Pass |
| Cinnamon Rufous | #C27544 | 3.65:1 | Fail |
| Dull Viridian Green | #009465 | 3.34:1 | Fail |
| Light Mauve | #9A72AA | 3.31:1 | Fail |
| Deep Violet / Plumbeous | #70727C | 2.71:1 | Fail |
| Scarlet | #CB2F43 | 2.48:1 | Fail |
| Rosolanc Purple | #B73F74 | 2.45:1 | Fail |
| Antwarp Blue | #007190 | 2.32:1 | Fail |
| Brick Red | #A84222 | 2.14:1 | Fail |
| Veronia Purple | #8C4C62 | 2.05:1 | Fail |
| Violet | #4F4086 | 1.49:1 | Fail |
| Vandyke Red | #82241F | 1.37:1 | Fail |
Palettes with Red Violet
- Combination #4 Isabella Color · Red Violet
- Combination #37 Brick Red · Red Violet
- Combination #134 Eosine Pink · Light Mauve · Red Violet
- Combination #136 Scarlet · Dull Viridian Green · Red Violet
- Combination #170 Rosolanc Purple · Orange Yellow · Red Violet
- Combination #172 Cinnamon Rufous · Antwarp Blue · Red Violet
- Combination #183 Deep Violet / Plumbeous · Veronia Purple · Red Violet
- Combination #316 Vandyke Red · Dull Viridian Green · Violet · Red Violet
Shades and tints of Indigo
Nine lightness steps in OKLCH that keep the hue of Indigo. Chroma is reduced only where sRGB cannot show it.
- 100#F7F3FF
- 200#EADEFF
- 300#D8C1FF
- 400#C299FF
- 500#A772EC
- 600#8650C7
- 700#6930A6
- 800#4E0686
- 900#2F0054
:root {
--indigo-100: #F7F3FF;
--indigo-200: #EADEFF;
--indigo-300: #D8C1FF;
--indigo-400: #C299FF;
--indigo-500: #A772EC;
--indigo-600: #8650C7;
--indigo-700: #6930A6;
--indigo-800: #4E0686;
--indigo-900: #2F0054;
}
Text that keeps Indigo on screen
Text #4B0082 on #F7F3FF reaches 11.85:1, which passes WCAG AA for body text. Check it on a dashboard