#5F416B

Closest named color: Dusk (#4E5481). oklch(42.6% 0.077 315.9), rgb(95, 65, 107).

Aa

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

About this color

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

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

Values

HEX#5F416B
RGBrgb(95, 65, 107)
HSLhsl(283, 24%, 34%)
OKLCHoklch(42.6% 0.077 315.9)

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 #5F416B 8.55:1 AAA Lc -93.8 Preferred for body text
Black text on #5F416B 2.45:1 Fails Lc 14.7 Not readable
#5F416B text on white 8.55:1 AAA Lc 89.3 Fine for body text
#5F416B text on black 2.45:1 Fails Lc -12.9 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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EDE7F0

    oklch(93.5% 0.014 314.8)

  3. Step 200

    200

    #E0D4E4

    oklch(88.4% 0.025 317.7)

  4. Step 300

    300

    #CCB8D5

    oklch(80.8% 0.046 315.4)

  5. Step 400

    400

    #B293BF

    oklch(70.6% 0.072 315.8)

  6. Step 500

    500

    #9F78AF

    oklch(63.1% 0.092 315.9)

  7. Step 600

    600

    #8A609B

    oklch(55.6% 0.101 315.8)

  8. Step 700

    700

    #754F84

    oklch(49% 0.093 316)

  9. Step 800

    800 (this color)

    #5F416B

    oklch(42.6% 0.077 315.9)

  10. Step 900

    900

    #4E3757

    oklch(37.6% 0.061 316.2)

  11. Step 950

    950

    #2E2133

    oklch(27.1% 0.037 316.4)

Export this scale for Tailwind in the Tailwind colors tool

#5F416B 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)#3A4A6D0.063
Deuteranopia (no green cones)#424D6A0.057
Tritanopia (no blue cones)#5F46510.050
Achromatopsia (no color)#4C4C4C0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F416B

    #5F416B

    oklch(42.6% 0.077 315.9)

  • #3B582C

    #3B582C

    oklch(42.6% 0.077 135.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F416B

    #5F416B

    oklch(42.6% 0.077 315.9)

  • #4B4877

    #4B4877

    oklch(42.6% 0.077 285.6)

  • #6C3D58

    #6C3D58

    oklch(42.6% 0.076 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F416B

    #5F416B

    oklch(42.6% 0.077 315.9)

  • #545118

    #545118

    oklch(42.6% 0.077 106.3)

  • #195C45

    #195C45

    oklch(42.7% 0.077 166)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F416B

    #5F416B

    oklch(42.6% 0.077 315.9)

  • #674816

    #674816

    oklch(42.6% 0.077 75.4)

  • #005B5C

    #005B5C

    oklch(42.7% 0.073 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F416B

    #5F416B

    oklch(42.6% 0.077 315.9)

  • #714029

    #714029

    oklch(42.6% 0.077 45.3)

  • #3B582C

    #3B582C

    oklch(42.6% 0.077 135.8)

  • #0D576F

    #0D576F

    oklch(42.7% 0.077 226.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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