#472877

Closest named color: Indigo (#4B0082). oklch(36.1% 0.129 297.6), rgb(71, 40, 119).

Aa

White text reads best on this color (11.42:1).

About this color

#472877 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.129 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.056 away. White text reads best on it, at 11.42:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.83:1
White text11.42:1

Values

HEX#472877
RGBrgb(71, 40, 119)
HSLhsl(264, 50%, 31%)
OKLCHoklch(36.1% 0.129 297.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #472877 11.42:1 AAA Lc -99.7 Preferred for body text
Black text on #472877 1.83:1 Fails Lc 8.0 Not readable
#472877 text on white 11.42:1 AAA Lc 95.9 Preferred for body text
#472877 text on black 1.83:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6FB

    oklch(93.6% 0.029 298.9)

  3. Step 200

    200

    #DDD2F9

    oklch(88.5% 0.054 298.2)

  4. Step 300

    300

    #C7B4F8

    oklch(81% 0.096 297)

  5. Step 400

    400

    #AC89F4

    oklch(70.7% 0.155 297.4)

  6. Step 500

    500

    #9A67EF

    oklch(63.1% 0.197 297.8)

  7. Step 600

    600

    #8549DE

    oklch(55.6% 0.215 297.4)

  8. Step 700

    700

    #7138C1

    oklch(49.1% 0.201 297.4)

  9. Step 800

    800

    #5C309C

    oklch(42.7% 0.166 297.6)

  10. Step 900

    900 (this color)

    #472877

    oklch(36.1% 0.129 297.6)

  11. Step 950

    950

    #2C1B48

    oklch(27% 0.081 298.2)

Export this scale for Tailwind in the Tailwind colors tool

#472877 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#003A790.090
Deuteranopia (no green cones)#0039750.090
Tritanopia (no blue cones)#3C3A4B0.100
Achromatopsia (no color)#3A3A3A0.130

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #472877

    #472877

    oklch(36.1% 0.129 297.6)

  • #3A4300

    #3A4300

    oklch(36.2% 0.084 118)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #472877

    #472877

    oklch(36.1% 0.129 297.6)

  • #203580

    #203580

    oklch(36.1% 0.129 267.6)

  • #5F1C5F

    #5F1C5F

    oklch(36.1% 0.129 327.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #472877

    #472877

    oklch(36.1% 0.129 297.6)

  • #4E3A00

    #4E3A00

    oklch(36.1% 0.074 86.8)

  • #004B19

    #004B19

    oklch(36% 0.105 147.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #472877

    #472877

    oklch(36.1% 0.129 297.6)

  • #5E2F00

    #5E2F00

    oklch(36% 0.087 57.3)

  • #00493D

    #00493D

    oklch(36.2% 0.067 177)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #472877

    #472877

    oklch(36.1% 0.129 297.6)

  • #721411

    #721411

    oklch(36.1% 0.129 27.8)

  • #3A4300

    #3A4300

    oklch(36.2% 0.084 118)

  • #00464E

    #00464E

    oklch(36% 0.062 207.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #472877, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #472877 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.