#5F4A71

Closest named color: Dusty Grape (#545775). oklch(44.7% 0.067 308.5), rgb(95, 74, 113).

Aa

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

About this color

#5F4A71 is a dark, muted purple. In OKLCH its lightness is 45%, its chroma 0.067 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.039 away. White text reads best on it, at 7.76:1.

Hue familyPurples
Lightnessdark (45%)
Chromamuted (0.067)
Temperaturein between
Nearest nameDusty Grape (#545775)
Black text2.70:1
White text7.76:1

Values

HEX#5F4A71
RGBrgb(95, 74, 113)
HSLhsl(272, 21%, 37%)
OKLCHoklch(44.7% 0.067 308.5)

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 #5F4A71 7.76:1 AAA Lc -91.7 Preferred for body text
Black text on #5F4A71 2.70:1 Fails Lc 17.1 Dividers and decoration only
#5F4A71 text on white 7.76:1 AAA Lc 86.9 Fine for body text
#5F4A71 text on black 2.70:1 Fails Lc -15.2 Dividers and decoration only

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

    #F6F4F8

    oklch(97% 0.006 308.4)

  2. Step 100

    100

    #ECE8F0

    oklch(93.6% 0.011 308.3)

  3. Step 200

    200

    #DDD5E4

    oklch(88.4% 0.022 309.5)

  4. Step 300

    300

    #C8BAD5

    oklch(80.9% 0.04 308.7)

  5. Step 400

    400

    #AC96BF

    oklch(70.6% 0.064 309)

  6. Step 500

    500

    #977CAF

    oklch(63% 0.081 308.3)

  7. Step 600

    600

    #82659A

    oklch(55.6% 0.087 308.8)

  8. Step 700

    700

    #6E5484

    oklch(49.2% 0.081 308.5)

  9. Step 800

    800 (this color)

    #5F4A71

    oklch(44.7% 0.067 308.5)

  10. Step 900

    900

    #493A57

    oklch(37.7% 0.052 307.7)

  11. Step 950

    950

    #2B2233

    oklch(27% 0.033 308.4)

Export this scale for Tailwind in the Tailwind colors tool

#5F4A71 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)#4352730.047
Deuteranopia (no green cones)#4753700.045
Tritanopia (no blue cones)#5D4F580.049
Achromatopsia (no color)#5252520.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F4A71

    #5F4A71

    oklch(44.7% 0.067 308.5)

  • #495C32

    #495C32

    oklch(44.8% 0.068 128.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F4A71

    #5F4A71

    oklch(44.7% 0.067 308.5)

  • #4C5079

    #4C5079

    oklch(44.6% 0.067 279)

  • #6D4561

    #6D4561

    oklch(44.6% 0.068 338.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F4A71

    #5F4A71

    oklch(44.7% 0.067 308.5)

  • #5E5526

    #5E5526

    oklch(44.7% 0.067 98.6)

  • #316046

    #316046

    oklch(44.8% 0.068 157.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F4A71

    #5F4A71

    oklch(44.7% 0.067 308.5)

  • #6D4D29

    #6D4D29

    oklch(44.7% 0.067 67.9)

  • #1C605C

    #1C605C

    oklch(44.6% 0.067 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F4A71

    #5F4A71

    oklch(44.7% 0.067 308.5)

  • #744738

    #744738

    oklch(44.6% 0.067 39.2)

  • #495C32

    #495C32

    oklch(44.8% 0.068 128.7)

  • #1F5D6D

    #1F5D6D

    oklch(44.6% 0.067 218.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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