#5F5978

Closest named color: Dusty Grape (#545775). oklch(48.2% 0.05 293.3), rgb(95, 89, 120).

Aa

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

About this color

#5F5978 is a medium-dark, muted purple. In OKLCH its lightness is 48%, its chroma 0.050 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.019 away. White text reads best on it, at 6.58:1.

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

Values

HEX#5F5978
RGBrgb(95, 89, 120)
HSLhsl(252, 15%, 41%)
OKLCHoklch(48.2% 0.05 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 #5F5978 6.58:1 AA Lc -87.7 Fine for body text
Black text on #5F5978 3.18:1 AA large text Lc 21.4 Dividers and decoration only
#5F5978 text on white 6.58:1 AA Lc 82.6 Fine for body text
#5F5978 text on black 3.18:1 AA large text Lc -19.3 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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #EAE9EE

    oklch(93.6% 0.007 295.4)

  3. Step 200

    200

    #D9D8E1

    oklch(88.6% 0.012 291.3)

  4. Step 300

    300

    #C1BECF

    oklch(80.9% 0.024 294)

  5. Step 400

    400

    #A19DB7

    oklch(70.8% 0.038 292.5)

  6. Step 500

    500

    #8A84A5

    oklch(63% 0.049 293.3)

  7. Step 600

    600

    #746E90

    oklch(55.6% 0.053 292.7)

  8. Step 700

    700 (this color)

    #5F5978

    oklch(48.2% 0.05 293.3)

  9. Step 800

    800

    #504B64

    oklch(42.8% 0.041 293.7)

  10. Step 900

    900

    #423F51

    oklch(37.8% 0.031 292.5)

  11. Step 950

    950

    #272530

    oklch(27.1% 0.02 293.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F5978 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)#525D790.022
Deuteranopia (no green cones)#525C770.021
Tritanopia (no blue cones)#5A5E640.041
Achromatopsia (no color)#5D5D5D0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F5978

    #5F5978

    oklch(48.2% 0.05 293.3)

  • #5E6140

    #5E6140

    oklch(48.1% 0.05 112.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F5978

    #5F5978

    oklch(48.2% 0.05 293.3)

  • #4F5E7B

    #4F5E7B

    oklch(48.1% 0.051 263.3)

  • #6C556E

    #6C556E

    oklch(48.2% 0.049 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F5978

    #5F5978

    oklch(48.2% 0.05 293.3)

  • #6C5C3D

    #6C5C3D

    oklch(48.2% 0.05 83.4)

  • #4D664C

    #4D664C

    oklch(48.2% 0.051 143.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F5978

    #5F5978

    oklch(48.2% 0.05 293.3)

  • #755744

    #755744

    oklch(48.3% 0.049 53.6)

  • #3F675C

    #3F675C

    oklch(48.1% 0.049 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F5978

    #5F5978

    oklch(48.2% 0.05 293.3)

  • #785351

    #785351

    oklch(48.2% 0.05 22.6)

  • #5E6140

    #5E6140

    oklch(48.1% 0.05 112.5)

  • #3A676B

    #3A676B

    oklch(48.3% 0.05 203)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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