#5D2F4E

Closest named color: Purple Brown (#673A3F). oklch(37.6% 0.08 340.8), rgb(93, 47, 78).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text1.98:1
White text10.59:1

Values

HEX#5D2F4E
RGBrgb(93, 47, 78)
HSLhsl(320, 33%, 27%)
OKLCHoklch(37.6% 0.08 340.8)

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

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F2E6ED

    oklch(93.6% 0.016 341.4)

  3. Step 200

    200

    #E9D1E0

    oklch(88.5% 0.033 339.9)

  4. Step 300

    300

    #DCB2CC

    oklch(80.9% 0.059 340.9)

  5. Step 400

    400

    #C989B2

    oklch(70.7% 0.094 341)

  6. Step 500

    500

    #BA6A9F

    oklch(63.1% 0.122 341.1)

  7. Step 600

    600

    #A5508A

    oklch(55.5% 0.133 340.9)

  8. Step 700

    700

    #8D4175

    oklch(49.1% 0.122 341)

  9. Step 800

    800

    #733660

    oklch(42.8% 0.102 340.6)

  10. Step 900

    900 (this color)

    #5D2F4E

    oklch(37.6% 0.08 340.8)

  11. Step 950

    950

    #371C2E

    oklch(27.1% 0.051 340.8)

Export this scale for Tailwind in the Tailwind colors tool

#5D2F4E 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)#313A4F0.083
Deuteranopia (no green cones)#3D414D0.075
Tritanopia (no blue cones)#62303B0.035
Achromatopsia (no color)#3F3F3F0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D2F4E

    #5D2F4E

    oklch(37.6% 0.08 340.8)

  • #094E33

    #094E33

    oklch(37.6% 0.08 160.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D2F4E

    #5D2F4E

    oklch(37.6% 0.08 340.8)

  • #4F3460

    #4F3460

    oklch(37.6% 0.079 311.3)

  • #642D37

    #642D37

    oklch(37.5% 0.08 10.3)

Open the analogous palette in the generator

Split complementary

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

  • #5D2F4E

    #5D2F4E

    oklch(37.6% 0.08 340.8)

  • #324A19

    #324A19

    oklch(37.7% 0.08 131.2)

  • #004C4A

    #004C4A

    oklch(37.6% 0.065 191.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D2F4E

    #5D2F4E

    oklch(37.6% 0.08 340.8)

  • #4B4200

    #4B4200

    oklch(37.7% 0.078 100.6)

  • #00495B

    #00495B

    oklch(37.6% 0.069 221.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D2F4E

    #5D2F4E

    oklch(37.6% 0.08 340.8)

  • #5B3902

    #5B3902

    oklch(37.6% 0.079 71.6)

  • #094E33

    #094E33

    oklch(37.6% 0.08 160.7)

  • #1D436A

    #1D436A

    oklch(37.6% 0.08 251.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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