#5F4173

Closest named color: Dusk (#4E5481). oklch(43% 0.087 310.8), rgb(95, 65, 115).

Aa

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

About this color

#5F4173 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.087 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.057 away. White text reads best on it, at 8.43:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text2.49:1
White text8.43:1

Values

HEX#5F4173
RGBrgb(95, 65, 115)
HSLhsl(276, 28%, 35%)
OKLCHoklch(43% 0.087 310.8)

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 #5F4173 8.43:1 AAA Lc -93.5 Preferred for body text
Black text on #5F4173 2.49:1 Fails Lc 15.1 Dividers and decoration only
#5F4173 text on white 8.43:1 AAA Lc 88.9 Fine for body text
#5F4173 text on black 2.49:1 Fails Lc -13.3 Not readable

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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F1

    oklch(93.6% 0.015 312.2)

  3. Step 200

    200

    #DFD4E7

    oklch(88.4% 0.028 311.3)

  4. Step 300

    300

    #CBB8D9

    oklch(80.9% 0.05 310.9)

  5. Step 400

    400

    #B192C7

    oklch(70.7% 0.083 310.8)

  6. Step 500

    500

    #9D77B8

    oklch(63.1% 0.104 310.4)

  7. Step 600

    600

    #885FA4

    oklch(55.6% 0.113 310.5)

  8. Step 700

    700

    #744E8C

    oklch(49.1% 0.105 311.3)

  9. Step 800

    800 (this color)

    #5F4173

    oklch(43% 0.087 310.8)

  10. Step 900

    900

    #4D375C

    oklch(37.8% 0.067 310.7)

  11. Step 950

    950

    #2D2036

    oklch(26.9% 0.044 310.7)

Export this scale for Tailwind in the Tailwind colors tool

#5F4173 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)#374C750.067
Deuteranopia (no green cones)#3E4E720.062
Tritanopia (no blue cones)#5D48540.061
Achromatopsia (no color)#4D4D4D0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F4173

    #5F4173

    oklch(43% 0.087 310.8)

  • #3F5922

    #3F5922

    oklch(43% 0.087 130.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F4173

    #5F4173

    oklch(43% 0.087 310.8)

  • #48497E

    #48497E

    oklch(43% 0.087 281.3)

  • #6F3B5E

    #6F3B5E

    oklch(42.9% 0.087 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F4173

    #5F4173

    oklch(43% 0.087 310.8)

  • #5B5105

    #5B5105

    oklch(43.2% 0.088 100.9)

  • #145E40

    #145E40

    oklch(43% 0.087 161.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F4173

    #5F4173

    oklch(43% 0.087 310.8)

  • #6E460B

    #6E460B

    oklch(43% 0.088 70.1)

  • #005C59

    #005C59

    oklch(42.9% 0.074 190.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F4173

    #5F4173

    oklch(43% 0.087 310.8)

  • #773E28

    #773E28

    oklch(43.1% 0.087 41.4)

  • #3F5922

    #3F5922

    oklch(43% 0.087 130.5)

  • #00596E

    #00596E

    oklch(43% 0.079 221)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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