#5F587B

Closest named color: Dusty Grape (#545775). oklch(48.1% 0.056 293.3), rgb(95, 88, 123).

Aa

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

About this color

#5F587B is a medium-dark, muted purple. In OKLCH its lightness is 48%, its chroma 0.056 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.021 away. White text reads best on it, at 6.62:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamuted (0.056)
Temperaturein between
Nearest nameDusty Grape (#545775)
Black text3.16:1
White text6.62:1

Values

HEX#5F587B
RGBrgb(95, 88, 123)
HSLhsl(252, 17%, 41%)
OKLCHoklch(48.1% 0.056 293.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 #5F587B 6.62:1 AA Lc -87.8 Fine for body text
Black text on #5F587B 3.16:1 AA large text Lc 21.3 Dividers and decoration only
#5F587B text on white 6.62:1 AA Lc 82.8 Fine for body text
#5F587B text on black 3.16:1 AA large text Lc -19.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 700.

  1. Step 50

    50

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #D9D7E2

    oklch(88.4% 0.015 294.4)

  4. Step 300

    300

    #C1BED1

    oklch(81% 0.027 293)

  5. Step 400

    400

    #A19CBA

    oklch(70.7% 0.044 292.9)

  6. Step 500

    500

    #8A83A9

    oklch(63% 0.057 293.1)

  7. Step 600

    600

    #746D94

    oklch(55.6% 0.06 292.6)

  8. Step 700

    700 (this color)

    #5F587B

    oklch(48.1% 0.056 293.3)

  9. Step 800

    800

    #504A66

    oklch(42.6% 0.046 294.2)

  10. Step 900

    900

    #423E53

    oklch(37.6% 0.036 293.3)

  11. Step 950

    950

    #272431

    oklch(26.9% 0.024 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F587B 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)#505D7C0.025
Deuteranopia (no green cones)#505C7A0.025
Tritanopia (no blue cones)#595E640.048
Achromatopsia (no color)#5D5D5D0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F587B

    #5F587B

    oklch(48.1% 0.056 293.3)

  • #5E623C

    #5E623C

    oklch(48.3% 0.057 113.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F587B

    #5F587B

    oklch(48.1% 0.056 293.3)

  • #4D5E7E

    #4D5E7E

    oklch(48.1% 0.056 262.7)

  • #6E5370

    #6E5370

    oklch(48.1% 0.056 324.1)

Open the analogous palette in the generator

Split complementary

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

  • #5F587B

    #5F587B

    oklch(48.1% 0.056 293.3)

  • #6D5B38

    #6D5B38

    oklch(48% 0.056 83.2)

  • #4B6649

    #4B6649

    oklch(48% 0.056 142.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F587B

    #5F587B

    oklch(48.1% 0.056 293.3)

  • #775540

    #775540

    oklch(48% 0.056 52.7)

  • #3A685B

    #3A685B

    oklch(48% 0.055 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F587B

    #5F587B

    oklch(48.1% 0.056 293.3)

  • #7B514F

    #7B514F

    oklch(48.1% 0.057 22.4)

  • #5E623C

    #5E623C

    oklch(48.3% 0.057 113.4)

  • #33676C

    #33676C

    oklch(48% 0.056 203.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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