#5B587E

Closest named color: Dusty Grape (#545775). oklch(47.9% 0.061 287.5), rgb(91, 88, 126).

Aa

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

About this color

#5B587E is a medium-dark, muted purple. In OKLCH its lightness is 48%, its chroma 0.061 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.019 away. White text reads best on it, at 6.68:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamuted (0.061)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text3.14:1
White text6.68:1

Values

HEX#5B587E
RGBrgb(91, 88, 126)
HSLhsl(245, 18%, 42%)
OKLCHoklch(47.9% 0.061 287.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 #5B587E 6.68:1 AA Lc -88.0 Fine for body text
Black text on #5B587E 3.14:1 AA large text Lc 21.1 Dividers and decoration only
#5B587E text on white 6.68:1 AA Lc 83.0 Fine for body text
#5B587E text on black 3.14:1 AA large text Lc -18.9 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 700.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D8D8E4

    oklch(88.6% 0.016 286.1)

  4. Step 300

    300

    #BFBED3

    oklch(80.9% 0.029 287.9)

  5. Step 400

    400

    #9E9DBD

    oklch(70.8% 0.046 286.6)

  6. Step 500

    500

    #8784AC

    oklch(63.1% 0.06 288)

  7. Step 600

    600

    #716E98

    oklch(55.7% 0.065 287.4)

  8. Step 700

    700 (this color)

    #5B587E

    oklch(47.9% 0.061 287.5)

  9. Step 800

    800

    #4D4B69

    oklch(42.7% 0.049 287.2)

  10. Step 900

    900

    #403E56

    oklch(37.6% 0.041 288.1)

  11. Step 950

    950

    #252532

    oklch(27% 0.024 284.7)

Export this scale for Tailwind in the Tailwind colors tool

#5B587E 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)#4E5D800.022
Deuteranopia (no green cones)#4D5B7D0.022
Tritanopia (no blue cones)#535F650.054
Achromatopsia (no color)#5C5C5C0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B587E

    #5B587E

    oklch(47.9% 0.061 287.5)

  • #616036

    #616036

    oklch(47.9% 0.061 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B587E

    #5B587E

    oklch(47.9% 0.061 287.5)

  • #475E80

    #475E80

    oklch(47.8% 0.062 258)

  • #6C5274

    #6C5274

    oklch(47.8% 0.062 318.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B587E

    #5B587E

    oklch(47.9% 0.061 287.5)

  • #705934

    #705934

    oklch(47.8% 0.061 78.4)

  • #4D6643

    #4D6643

    oklch(48% 0.062 137)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B587E

    #5B587E

    oklch(47.9% 0.061 287.5)

  • #7A533F

    #7A533F

    oklch(48% 0.061 48)

  • #386856

    #386856

    oklch(47.7% 0.061 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B587E

    #5B587E

    oklch(47.9% 0.061 287.5)

  • #7C4F51

    #7C4F51

    oklch(47.9% 0.061 16.7)

  • #616036

    #616036

    oklch(47.9% 0.061 107.3)

  • #2D6869

    #2D6869

    oklch(47.9% 0.061 196.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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