#5B314C

Closest named color: Purple Brown (#673A3F). oklch(37.6% 0.072 342), rgb(91, 49, 76).

Aa

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

About this color

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

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

Values

HEX#5B314C
RGBrgb(91, 49, 76)
HSLhsl(321, 30%, 27%)
OKLCHoklch(37.6% 0.072 342)

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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F2E6ED

    oklch(93.6% 0.016 341.4)

  3. Step 200

    200

    #E8D2DF

    oklch(88.6% 0.03 341.4)

  4. Step 300

    300

    #DAB3CA

    oklch(80.8% 0.054 342.2)

  5. Step 400

    400

    #C68BB0

    oklch(70.6% 0.087 341.5)

  6. Step 500

    500

    #B76D9C

    oklch(63.1% 0.111 342.1)

  7. Step 600

    600

    #A25487

    oklch(55.6% 0.121 342)

  8. Step 700

    700

    #8A4472

    oklch(49% 0.112 342)

  9. Step 800

    800

    #70395D

    oklch(42.7% 0.091 341.9)

  10. Step 900

    900 (this color)

    #5B314C

    oklch(37.6% 0.072 342)

  11. Step 950

    950

    #361D2D

    oklch(27.1% 0.047 341.8)

Export this scale for Tailwind in the Tailwind colors tool

#5B314C 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)#333B4D0.075
Deuteranopia (no green cones)#3E414B0.068
Tritanopia (no blue cones)#60313B0.031
Achromatopsia (no color)#3F3F3F0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B314C

    #5B314C

    oklch(37.6% 0.072 342)

  • #134D35

    #134D35

    oklch(37.6% 0.072 161.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B314C

    #5B314C

    oklch(37.6% 0.072 342)

  • #4E355D

    #4E355D

    oklch(37.5% 0.073 312)

  • #623037

    #623037

    oklch(37.7% 0.072 12.3)

Open the analogous palette in the generator

Split complementary

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

  • #5B314C

    #5B314C

    oklch(37.6% 0.072 342)

  • #33491F

    #33491F

    oklch(37.6% 0.071 131.8)

  • #004C4A

    #004C4A

    oklch(37.6% 0.065 191.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B314C

    #5B314C

    oklch(37.6% 0.072 342)

  • #49420B

    #49420B

    oklch(37.5% 0.072 101.7)

  • #00495C

    #00495C

    oklch(37.6% 0.07 222.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B314C

    #5B314C

    oklch(37.6% 0.072 342)

  • #593A0D

    #593A0D

    oklch(37.6% 0.072 71.4)

  • #134D35

    #134D35

    oklch(37.6% 0.072 161.6)

  • #234366

    #234366

    oklch(37.6% 0.071 252.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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