#5F314D

Closest named color: Purple Brown (#673A3F). oklch(38.2% 0.077 344), rgb(95, 49, 77).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text2.03:1
White text10.32:1

Values

HEX#5F314D
RGBrgb(95, 49, 77)
HSLhsl(323, 32%, 28%)
OKLCHoklch(38.2% 0.077 344)

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 #5F314D 10.32:1 AAA Lc -97.8 Preferred for body text
Black text on #5F314D 2.03:1 Fails Lc 10.2 Not readable
#5F314D text on white 10.32:1 AAA Lc 93.7 Preferred for body text
#5F314D text on black 2.03:1 Fails Lc -8.8 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

    #F3E6EC

    oklch(93.7% 0.016 347.6)

  3. Step 200

    200

    #E9D1DE

    oklch(88.4% 0.032 343.9)

  4. Step 300

    300

    #DDB2CA

    oklch(80.9% 0.059 343.9)

  5. Step 400

    400

    #CA89AF

    oklch(70.7% 0.093 343.8)

  6. Step 500

    500

    #BB6B9B

    oklch(63.2% 0.118 344.2)

  7. Step 600

    600

    #A65186

    oklch(55.6% 0.129 343.9)

  8. Step 700

    700

    #8E4171

    oklch(49.1% 0.12 344.2)

  9. Step 800

    800

    #73365C

    oklch(42.6% 0.099 343.9)

  10. Step 900

    900 (this color)

    #5F314D

    oklch(38.2% 0.077 344)

  11. Step 950

    950

    #371C2C

    oklch(27% 0.049 344.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F314D 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)#343C4E0.081
Deuteranopia (no green cones)#40434C0.074
Tritanopia (no blue cones)#64313B0.032
Achromatopsia (no color)#4040400.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F314D

    #5F314D

    oklch(38.2% 0.077 344)

  • #0A5038

    #0A5038

    oklch(38.4% 0.077 163.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F314D

    #5F314D

    oklch(38.2% 0.077 344)

  • #52365F

    #52365F

    oklch(38.3% 0.076 314.5)

  • #653036

    #653036

    oklch(38.1% 0.076 14.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F314D

    #5F314D

    oklch(38.2% 0.077 344)

  • #314C1F

    #314C1F

    oklch(38.3% 0.077 134.4)

  • #004E4D

    #004E4D

    oklch(38.3% 0.066 193.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F314D

    #5F314D

    oklch(38.2% 0.077 344)

  • #4A4506

    #4A4506

    oklch(38.4% 0.078 104.6)

  • #004B5F

    #004B5F

    oklch(38.3% 0.072 223.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F314D

    #5F314D

    oklch(38.2% 0.077 344)

  • #5B3C07

    #5B3C07

    oklch(38.3% 0.077 74.3)

  • #0A5038

    #0A5038

    oklch(38.4% 0.077 163.9)

  • #24446B

    #24446B

    oklch(38.2% 0.077 254.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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