#4B0082At hue 275° with 100% saturation, indigo lands firmly in the purple family — a cool color through and through. Colors in this range are commonly associated with creativity, luxury and imagination, which makes indigo a natural fit for premium products, beauty brands and creative tools.
With a 12.95:1 contrast ratio against white, indigo is dark enough to carry white text at any size — use it confidently for buttons, headers and filled UI elements. It is also dark enough to serve as a background in a dark theme, where lighter tints of indigo can act as hover and border states.
For pairings, the complement of indigo sits at 95° — #358000, close to green — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same cool temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for indigo in the palettes below, with copy-ready codes.
Every palette below is computed from indigo's position on the color wheel (hue 275°). Hover any swatch to see its code; click to copy.
Tints mix indigo toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how indigo performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Indigo | 12.95:1 | AAA | AAA |
| Black text on Indigo | 1.62:1 | Fail | Fail |
#2B2A63#2F345B#474A44Copy-ready snippets. In CSS you can also use the keyword indigo directly.
:root {
--indigo: #4B0082;
--indigo-rgb: 75, 0, 130;
--indigo-tint: #9C73BA;
--indigo-shade: #290048;
}
.btn-indigo {
background: var(--indigo);
color: #ffffff;
}
// tailwind.config.js
colors: {
'indigo': {
DEFAULT: '#4B0082',
light: '#9C73BA',
dark: '#290048',
},
}
The closest CSS named colors by perceptual (Lab) distance.