#5B4E6D

Closest named color: Dusty Grape (#545775). oklch(44.9% 0.052 303.5), rgb(91, 78, 109).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromamuted (0.052)
Temperaturein between
Nearest nameDusty Grape (#545775)
Black text2.75:1
White text7.62:1

Values

HEX#5B4E6D
RGBrgb(91, 78, 109)
HSLhsl(265, 17%, 37%)
OKLCHoklch(44.9% 0.052 303.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 #5B4E6D 7.62:1 AAA Lc -91.3 Preferred for body text
Black text on #5B4E6D 2.75:1 Fails Lc 17.5 Dividers and decoration only
#5B4E6D text on white 7.62:1 AAA Lc 86.5 Fine for body text
#5B4E6D text on black 2.75:1 Fails Lc -15.6 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8EF

    oklch(93.5% 0.01 305.4)

  3. Step 200

    200

    #DBD7E3

    oklch(88.6% 0.017 301.2)

  4. Step 300

    300

    #C4BCD1

    oklch(80.8% 0.03 303)

  5. Step 400

    400

    #A79ABA

    oklch(70.8% 0.048 303.6)

  6. Step 500

    500

    #9181A9

    oklch(63.2% 0.062 302.9)

  7. Step 600

    600

    #7C6A94

    oklch(55.7% 0.067 303.9)

  8. Step 700

    700

    #68587E

    oklch(49.1% 0.062 303.5)

  9. Step 800

    800 (this color)

    #5B4E6D

    oklch(44.9% 0.052 303.5)

  10. Step 900

    900

    #463C53

    oklch(37.6% 0.041 304.4)

  11. Step 950

    950

    #292331

    oklch(26.9% 0.027 304.2)

Export this scale for Tailwind in the Tailwind colors tool

#5B4E6D 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)#48536E0.032
Deuteranopia (no green cones)#4A546C0.031
Tritanopia (no blue cones)#5852590.039
Achromatopsia (no color)#5454540.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B4E6D

    #5B4E6D

    oklch(44.9% 0.052 303.5)

  • #4F5A39

    #4F5A39

    oklch(44.9% 0.053 123.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B4E6D

    #5B4E6D

    oklch(44.9% 0.052 303.5)

  • #4C5372

    #4C5372

    oklch(44.9% 0.052 274.3)

  • #674A61

    #674A61

    oklch(44.9% 0.052 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #5B4E6D

    #5B4E6D

    oklch(44.9% 0.052 303.5)

  • #5F5532

    #5F5532

    oklch(45% 0.053 94)

  • #3E5E48

    #3E5E48

    oklch(45% 0.052 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B4E6D

    #5B4E6D

    oklch(44.9% 0.052 303.5)

  • #6A4F36

    #6A4F36

    oklch(45% 0.052 63.7)

  • #315F58

    #315F58

    oklch(45% 0.052 182.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B4E6D

    #5B4E6D

    oklch(44.9% 0.052 303.5)

  • #6F4A42

    #6F4A42

    oklch(44.8% 0.053 32.7)

  • #4F5A39

    #4F5A39

    oklch(44.9% 0.053 123.5)

  • #2F5D67

    #2F5D67

    oklch(45% 0.053 213.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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