#5F2F52

Closest named color: Purple Brown (#673A3F). oklch(38.1% 0.085 338.3), rgb(95, 47, 82).

Aa

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

About this color

#5F2F52 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.085 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.054 away. White text reads best on it, at 10.42:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text2.01:1
White text10.42:1

Values

HEX#5F2F52
RGBrgb(95, 47, 82)
HSLhsl(316, 34%, 28%)
OKLCHoklch(38.1% 0.085 338.3)

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 #5F2F52 10.42:1 AAA Lc -97.9 Preferred for body text
Black text on #5F2F52 2.01:1 Fails Lc 10.0 Not readable
#5F2F52 text on white 10.42:1 AAA Lc 93.9 Preferred for body text
#5F2F52 text on black 2.01:1 Fails Lc -8.6 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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #EAD1E1

    oklch(88.6% 0.035 339.2)

  4. Step 300

    300

    #DDB1CF

    oklch(80.9% 0.064 338.1)

  5. Step 400

    400

    #CA87B6

    oklch(70.6% 0.102 338.3)

  6. Step 500

    500

    #BB68A4

    oklch(63.1% 0.13 338.3)

  7. Step 600

    600

    #A64E8F

    oklch(55.6% 0.141 338.4)

  8. Step 700

    700

    #8E3E7A

    oklch(49% 0.132 338.1)

  9. Step 800

    800

    #743463

    oklch(42.8% 0.109 338.6)

  10. Step 900

    900 (this color)

    #5F2F52

    oklch(38.1% 0.085 338.3)

  11. Step 950

    950

    #371B2F

    oklch(26.9% 0.054 338.7)

Export this scale for Tailwind in the Tailwind colors tool

#5F2F52 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)#303B530.088
Deuteranopia (no green cones)#3D42510.079
Tritanopia (no blue cones)#64303C0.040
Achromatopsia (no color)#4040400.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F2F52

    #5F2F52

    oklch(38.1% 0.085 338.3)

  • #075031

    #075031

    oklch(38.2% 0.085 158.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F2F52

    #5F2F52

    oklch(38.1% 0.085 338.3)

  • #4F3565

    #4F3565

    oklch(38.1% 0.084 307.8)

  • #672D3A

    #672D3A

    oklch(38.1% 0.084 7.9)

Open the analogous palette in the generator

Split complementary

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

  • #5F2F52

    #5F2F52

    oklch(38.1% 0.085 338.3)

  • #354B13

    #354B13

    oklch(38.2% 0.085 128.4)

  • #004E49

    #004E49

    oklch(38.2% 0.067 187.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F2F52

    #5F2F52

    oklch(38.1% 0.085 338.3)

  • #4E4300

    #4E4300

    oklch(38.3% 0.079 98.6)

  • #004B5B

    #004B5B

    oklch(38.1% 0.069 218.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F2F52

    #5F2F52

    oklch(38.1% 0.085 338.3)

  • #5F3900

    #5F3900

    oklch(38.2% 0.083 68.7)

  • #075031

    #075031

    oklch(38.2% 0.085 158.3)

  • #17456D

    #17456D

    oklch(38% 0.084 248.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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