#5F415B

Closest named color: Purple Brown (#673A3F). oklch(41.9% 0.057 331.3), rgb(95, 65, 91).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromamuted (0.057)
Temperaturein between
Nearest namePurple Brown (#673A3F)
Black text2.39:1
White text8.77:1

Values

HEX#5F415B
RGBrgb(95, 65, 91)
HSLhsl(308, 19%, 31%)
OKLCHoklch(41.9% 0.057 331.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 #5F415B 8.77:1 AAA Lc -94.4 Preferred for body text
Black text on #5F415B 2.39:1 Fails Lc 14.0 Not readable
#5F415B text on white 8.77:1 AAA Lc 90.0 Fine for body text
#5F415B text on black 2.39:1 Fails Lc -12.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 800.

  1. Step 50

    50

    #F7F4F7

    oklch(97% 0.005 325.6)

  2. Step 100

    100

    #EEE8ED

    oklch(93.7% 0.009 331)

  3. Step 200

    200

    #E1D5DF

    oklch(88.6% 0.019 331.1)

  4. Step 300

    300

    #CEB9CB

    oklch(80.9% 0.034 330.5)

  5. Step 400

    400

    #B595B0

    oklch(70.7% 0.053 331.4)

  6. Step 500

    500

    #A27A9D

    oklch(63% 0.07 330.7)

  7. Step 600

    600

    #8D6387

    oklch(55.6% 0.074 331.6)

  8. Step 700

    700

    #785273

    oklch(49.2% 0.07 331.2)

  9. Step 800

    800 (this color)

    #5F415B

    oklch(41.9% 0.057 331.3)

  10. Step 900

    900

    #50394C

    oklch(37.8% 0.044 332.6)

  11. Step 950

    950

    #2F212D

    oklch(27% 0.03 331.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F415B 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)#40485C0.055
Deuteranopia (no green cones)#474C5A0.050
Tritanopia (no blue cones)#62434A0.032
Achromatopsia (no color)#4B4B4B0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F415B

    #5F415B

    oklch(41.9% 0.057 331.3)

  • #34563D

    #34563D

    oklch(41.9% 0.058 151.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F415B

    #5F415B

    oklch(41.9% 0.057 331.3)

  • #524567

    #524567

    oklch(41.8% 0.058 301.5)

  • #673F4B

    #673F4B

    oklch(41.9% 0.058 0.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F415B

    #5F415B

    oklch(41.9% 0.057 331.3)

  • #48522D

    #48522D

    oklch(42% 0.058 121.3)

  • #23574F

    #23574F

    oklch(41.9% 0.057 181.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F415B

    #5F415B

    oklch(41.9% 0.057 331.3)

  • #584C26

    #584C26

    oklch(41.9% 0.058 92.3)

  • #20555F

    #20555F

    oklch(41.9% 0.058 212.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F415B

    #5F415B

    oklch(41.9% 0.057 331.3)

  • #63452B

    #63452B

    oklch(41.7% 0.057 61.2)

  • #34563D

    #34563D

    oklch(41.9% 0.058 151.7)

  • #2E5169

    #2E5169

    oklch(41.9% 0.057 240)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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