#5F2A55

Closest named color: Grape Purple (#5D1451). oklch(37.5% 0.097 335), rgb(95, 42, 85).

Aa

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

About this color

#5F2A55 is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.097 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.044 away. White text reads best on it, at 10.77:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.94:1
White text10.77:1

Values

HEX#5F2A55
RGBrgb(95, 42, 85)
HSLhsl(311, 39%, 27%)
OKLCHoklch(37.5% 0.097 335)

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 #5F2A55 10.77:1 AAA Lc -98.5 Preferred for body text
Black text on #5F2A55 1.94:1 Fails Lc 9.3 Not readable
#5F2A55 text on white 10.77:1 AAA Lc 94.6 Preferred for body text
#5F2A55 text on black 1.94:1 Fails Lc -8.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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5EF

    oklch(93.6% 0.02 335.7)

  3. Step 200

    200

    #EBD0E4

    oklch(88.6% 0.04 335)

  4. Step 300

    300

    #DFAFD3

    oklch(80.8% 0.073 335.3)

  5. Step 400

    400

    #CD84BD

    oklch(70.7% 0.116 335.1)

  6. Step 500

    500

    #BF63AD

    oklch(63.2% 0.149 335)

  7. Step 600

    600

    #AA4798

    oklch(55.6% 0.162 335.2)

  8. Step 700

    700

    #913882

    oklch(49.1% 0.15 334.7)

  9. Step 800

    800

    #762F69

    oklch(42.6% 0.124 335.2)

  10. Step 900

    900 (this color)

    #5F2A55

    oklch(37.5% 0.097 335)

  11. Step 950

    950

    #381A32

    oklch(27% 0.06 335)

Export this scale for Tailwind in the Tailwind colors tool

#5F2A55 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)#2A39560.100
Deuteranopia (no green cones)#3940540.088
Tritanopia (no blue cones)#632D3B0.049
Achromatopsia (no color)#3E3E3E0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F2A55

    #5F2A55

    oklch(37.5% 0.097 335)

  • #004F2A

    #004F2A

    oklch(37.6% 0.093 154.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F2A55

    #5F2A55

    oklch(37.5% 0.097 335)

  • #4D316A

    #4D316A

    oklch(37.4% 0.098 304.8)

  • #69273A

    #69273A

    oklch(37.5% 0.096 5.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F2A55

    #5F2A55

    oklch(37.5% 0.097 335)

  • #364900

    #364900

    oklch(37.5% 0.094 124.8)

  • #004C45

    #004C45

    oklch(37.4% 0.066 184.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F2A55

    #5F2A55

    oklch(37.5% 0.097 335)

  • #4E4000

    #4E4000

    oklch(37.5% 0.077 94.9)

  • #004957

    #004957

    oklch(37.3% 0.066 216.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F2A55

    #5F2A55

    oklch(37.5% 0.097 335)

  • #5F3600

    #5F3600

    oklch(37.5% 0.084 65)

  • #004F2A

    #004F2A

    oklch(37.6% 0.093 154.9)

  • #00446F

    #00446F

    oklch(37.4% 0.095 245.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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