#5C2571

Closest named color: Grape Purple (#5D1451). oklch(38% 0.132 315.4), rgb(92, 37, 113).

Aa

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

About this color

#5C2571 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.132 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.060 away. White text reads best on it, at 10.72:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.95:1
White text10.72:1

Values

HEX#5C2571
RGBrgb(92, 37, 113)
HSLhsl(283, 51%, 29%)
OKLCHoklch(38% 0.132 315.4)

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 #5C2571 10.72:1 AAA Lc -98.3 Preferred for body text
Black text on #5C2571 1.95:1 Fails Lc 9.6 Not readable
#5C2571 text on white 10.72:1 AAA Lc 94.3 Preferred for body text
#5C2571 text on black 1.95:1 Fails Lc -8.3 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E4F7

    oklch(93.5% 0.029 315.3)

  3. Step 200

    200

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D9ADED

    oklch(80.8% 0.1 315.1)

  5. Step 400

    400

    #C67FE3

    oklch(70.7% 0.158 315.6)

  6. Step 500

    500

    #B759DB

    oklch(63.1% 0.203 315.6)

  7. Step 600

    600

    #A238C9

    oklch(55.6% 0.221 315.2)

  8. Step 700

    700

    #8B28AD

    oklch(49.1% 0.205 315.6)

  9. Step 800

    800

    #71248C

    oklch(42.7% 0.17 315.7)

  10. Step 900

    900 (this color)

    #5C2571

    oklch(38% 0.132 315.4)

  11. Step 950

    950

    #361742

    oklch(27.2% 0.084 315.6)

Export this scale for Tailwind in the Tailwind colors tool

#5C2571 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)#063B730.126
Deuteranopia (no green cones)#243F6F0.109
Tritanopia (no blue cones)#5B33470.087
Achromatopsia (no color)#3E3E3E0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C2571

    #5C2571

    oklch(38% 0.132 315.4)

  • #244E00

    #244E00

    oklch(37.8% 0.111 135.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C2571

    #5C2571

    oklch(38% 0.132 315.4)

  • #3F3284

    #3F3284

    oklch(38.1% 0.132 285.5)

  • #6F1A52

    #6F1A52

    oklch(37.9% 0.133 344.9)

Open the analogous palette in the generator

Split complementary

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

  • #5C2571

    #5C2571

    oklch(38% 0.132 315.4)

  • #494400

    #494400

    oklch(38% 0.08 104.9)

  • #004F38

    #004F38

    oklch(37.9% 0.079 165.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C2571

    #5C2571

    oklch(38% 0.132 315.4)

  • #5A3B00

    #5A3B00

    oklch(37.9% 0.08 75.8)

  • #004D4D

    #004D4D

    oklch(38% 0.065 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C2571

    #5C2571

    oklch(38% 0.132 315.4)

  • #6E2A00

    #6E2A00

    oklch(37.8% 0.108 45.3)

  • #244E00

    #244E00

    oklch(37.8% 0.111 135.4)

  • #004A5F

    #004A5F

    oklch(38% 0.072 224.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5C2571 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.