#5A587F

Closest named color: Dusty Grape (#545775). oklch(47.8% 0.062 286.1), rgb(90, 88, 127).

Aa

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

About this color

#5A587F is a medium-dark, muted purple. In OKLCH its lightness is 48%, its chroma 0.062 and its hue 286°. 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.69:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamuted (0.062)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text3.13:1
White text6.69:1

Values

HEX#5A587F
RGBrgb(90, 88, 127)
HSLhsl(243, 18%, 42%)
OKLCHoklch(47.8% 0.062 286.1)

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 #5A587F 6.69:1 AA Lc -88.0 Fine for body text
Black text on #5A587F 3.13:1 AA large text Lc 21.0 Dividers and decoration only
#5A587F text on white 6.69:1 AA Lc 83.0 Fine for body text
#5A587F text on black 3.13: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

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D8D8E4

    oklch(88.6% 0.016 286.1)

  4. Step 300

    300

    #BEBED4

    oklch(80.8% 0.031 285.7)

  5. Step 400

    400

    #9D9DBE

    oklch(70.7% 0.048 285.1)

  6. Step 500

    500

    #8684AE

    oklch(63.1% 0.063 286.6)

  7. Step 600

    600

    #706E99

    oklch(55.7% 0.066 286.2)

  8. Step 700

    700 (this color)

    #5A587F

    oklch(47.8% 0.062 286.1)

  9. Step 800

    800

    #4C4B6A

    oklch(42.7% 0.051 285.5)

  10. Step 900

    900

    #403F56

    oklch(37.8% 0.039 286.4)

  11. Step 950

    950

    #252533

    oklch(27.1% 0.026 284.5)

Export this scale for Tailwind in the Tailwind colors tool

#5A587F 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)#4D5D810.022
Deuteranopia (no green cones)#4C5B7E0.022
Tritanopia (no blue cones)#515F660.054
Achromatopsia (no color)#5C5C5C0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A587F

    #5A587F

    oklch(47.8% 0.062 286.1)

  • #626034

    #626034

    oklch(48% 0.064 106.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A587F

    #5A587F

    oklch(47.8% 0.062 286.1)

  • #465F80

    #465F80

    oklch(48% 0.062 255.6)

  • #6B5275

    #6B5275

    oklch(47.8% 0.063 316.1)

Open the analogous palette in the generator

Split complementary

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

  • #5A587F

    #5A587F

    oklch(47.8% 0.062 286.1)

  • #715833

    #715833

    oklch(47.7% 0.062 76.1)

  • #4D6542

    #4D6542

    oklch(47.7% 0.061 136.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A587F

    #5A587F

    oklch(47.8% 0.062 286.1)

  • #7B523F

    #7B523F

    oklch(47.9% 0.063 45.7)

  • #386855

    #386855

    oklch(47.7% 0.061 166.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A587F

    #5A587F

    oklch(47.8% 0.062 286.1)

  • #7D4F51

    #7D4F51

    oklch(48% 0.062 16.8)

  • #626034

    #626034

    oklch(48% 0.064 106.3)

  • #2B6869

    #2B6869

    oklch(47.8% 0.062 196.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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