#5F405D

Closest named color: Purple Brown (#673A3F). oklch(41.7% 0.062 328.8), rgb(95, 64, 93).

Aa

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

About this color

#5F405D is a dark, muted purple. In OKLCH its lightness is 42%, its chroma 0.062 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.049 away. White text reads best on it, at 8.83:1.

Hue familyPurples
Lightnessdark (42%)
Chromamuted (0.062)
Temperaturein between
Nearest namePurple Brown (#673A3F)
Black text2.37:1
White text8.83:1

Values

HEX#5F405D
RGBrgb(95, 64, 93)
HSLhsl(304, 19%, 31%)
OKLCHoklch(41.7% 0.062 328.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 #5F405D 8.83:1 AAA Lc -94.6 Preferred for body text
Black text on #5F405D 2.37:1 Fails Lc 13.9 Not readable
#5F405D text on white 8.83:1 AAA Lc 90.1 Preferred for body text
#5F405D text on black 2.37:1 Fails Lc -12.2 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 800.

  1. Step 50

    50

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EEE7ED

    oklch(93.5% 0.011 330.2)

  3. Step 200

    200

    #E1D5E0

    oklch(88.6% 0.02 328.3)

  4. Step 300

    300

    #CEB9CC

    oklch(80.9% 0.035 328.9)

  5. Step 400

    400

    #B594B3

    oklch(70.7% 0.058 328.1)

  6. Step 500

    500

    #A37AA0

    oklch(63.2% 0.073 328.9)

  7. Step 600

    600

    #8D628B

    oklch(55.6% 0.08 328.2)

  8. Step 700

    700

    #785176

    oklch(49.1% 0.075 328.4)

  9. Step 800

    800 (this color)

    #5F405D

    oklch(41.7% 0.062 328.8)

  10. Step 900

    900

    #50384E

    oklch(37.6% 0.049 329.3)

  11. Step 950

    950

    #2F212E

    oklch(27% 0.031 328.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F405D 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)#3F485E0.057
Deuteranopia (no green cones)#464C5C0.053
Tritanopia (no blue cones)#61424A0.035
Achromatopsia (no color)#4A4A4A0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F405D

    #5F405D

    oklch(41.7% 0.062 328.8)

  • #33563A

    #33563A

    oklch(41.8% 0.062 149.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F405D

    #5F405D

    oklch(41.7% 0.062 328.8)

  • #514569

    #514569

    oklch(41.8% 0.06 299.1)

  • #683E4C

    #683E4C

    oklch(41.8% 0.062 358.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F405D

    #5F405D

    oklch(41.7% 0.062 328.8)

  • #495129

    #495129

    oklch(41.7% 0.061 118.4)

  • #1F574D

    #1F574D

    oklch(41.7% 0.061 179.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F405D

    #5F405D

    oklch(41.7% 0.062 328.8)

  • #5A4B22

    #5A4B22

    oklch(41.9% 0.062 89.5)

  • #19565E

    #19565E

    oklch(41.9% 0.062 207.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F405D

    #5F405D

    oklch(41.7% 0.062 328.8)

  • #654429

    #654429

    oklch(41.7% 0.061 59.3)

  • #33563A

    #33563A

    oklch(41.8% 0.062 149.5)

  • #2A516A

    #2A516A

    oklch(41.8% 0.061 238.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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