#4b0082

indigo

Color values Color notations — HEX (hexadecimal), RGB (light primaries), HSL (hue/saturation/lightness), CMYK (print inks, approximate).

HEX
#4b0082
RGB
rgb(75, 0, 130)
HSL
hsl(275, 100%, 25%)
OKLCH
oklch(33.9% 0.179 301.7)
CMYK
42% 100% 0% 49%
Relative luminance Relative luminance: a color's brightness from 0 (black) to 1 (white). It is used to compute WCAG contrast.
0.0311
Hue Hue: the kind of a color (red, orange, yellow…). We group the hue wheel into 12 sectors.
Violet
CSS color name
indigo

Contrast

Ratio Contrast ratio: the brightness difference between two colors, from 1:1 to 21:1. Higher is easier to read. APCA (Lc) APCA: a newer perceptual contrast measure from the WCAG 3 draft. Lc runs about 0–106; higher is easier to read. The sign shows polarity (dark text on light, or light on dark).
As background
White text 12.95:1 -101
Black text 1.62:1 0
As text
White background 12.95:1 97
Black background 1.62:1 0

Color harmonies

Complementary Complementary: the opposite color on the wheel (180°). The two make each other pop.

Analogous Analogous: neighbors on the wheel (about ±15°). They make a cohesive palette.

Triadic Triadic: three colors evenly spaced 120° apart. Balanced and lively.

Split complementary Split complementary: the two colors beside the complement (180° ± 30°). Softer than a straight complement.

Tetradic Tetradic: four colors evenly spaced 90° apart. Good for multi-accent palettes.

Tone scale Tone scale: five steps that keep the hue but vary the lightness.

Shades & tints Shades & tints: lighter steps mixed toward white (tints) and darker steps mixed toward black (shades).

Impressions Impression: a tag for the mood a color evokes — warm, calm, vivid and so on.

Usage preview

As background (black text)

Ratio 1.62:1 APCA (Lc) 0

As background (white text)

Ratio 12.95:1 APCA (Lc) -101

As text (white background)

Ratio 12.95:1 APCA (Lc) 97

As text (black background)

Ratio 1.62:1 APCA (Lc) 0