Indigo color: #4b0082
The CSS keyword indigo is #4b0082, rgb(75, 0, 130) or hsl(275, 100%, 25%). Its codes to copy, 50–950 tint scale, harmonies and contrast on white and black.
Part of design tools.
About Indigo
Indigo is a very dark purple. Its hue sits at 302° in OKLCH and 275° in HSL — the two wheels are spaced differently, which is why the numbers disagree.
The keyword indigo comes from the X Window System color list, which SVG 1.0 adopted and CSS Color Level 3 brought to every stylesheet.
Indigo tint scale, 50 to 950
Eleven steps at fixed perceived lightness, in OKLCH, holding indigo’s own hue from end to end. The keyword itself falls closest to step 800 (#4a1b7a), the one outlined; step 500 is #9b66df.
Harmonies built on Indigo
Hue angles measured in OKLCH, so every accent keeps indigo’s perceived lightness. Its complement is #313e00, closest to the named color darkslategray.
Complementary
Analogous
Triadic
Split-complementary
Indigo on white and on black
White text reads better on indigo (12.95:1). As a text color it is readable on a white page (12.95:1, AAA). AA asks 4.5:1 for body text and 3:1 for large text; AAA asks 7:1.
Named colors close to Indigo
Open indigo in the full tools
- Open in Color Converter — convert it to any other notation.
- Open in Palette Generator — export its scale as --indigo-50 … --indigo-950 tokens.
- Open in Color Harmonies — turn the wheel and compare OKLCH with HSL.
- Open in Contrast Checker — test it against any background, with the closest passing shade.
- Open in Color System Generator — derive a light and dark token set from it.
Or browse every named color from the color converter.