#5F366A

Closest named color: Dark Slate Blue (#483D8B). oklch(40.5% 0.097 318.9), rgb(95, 54, 106).

Aa

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

About this color

#5F366A is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.097 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.069 away. White text reads best on it, at 9.44:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.22:1
White text9.44:1

Values

HEX#5F366A
RGBrgb(95, 54, 106)
HSLhsl(287, 33%, 31%)
OKLCHoklch(40.5% 0.097 318.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 #5F366A 9.44:1 AAA Lc -95.9 Preferred for body text
Black text on #5F366A 2.22:1 Fails Lc 12.3 Not readable
#5F366A text on white 9.44:1 AAA Lc 91.6 Preferred for body text
#5F366A text on black 2.22:1 Fails Lc -10.8 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE7F1

    oklch(93.7% 0.016 319.4)

  3. Step 200

    200

    #E2D3E7

    oklch(88.5% 0.031 317.7)

  4. Step 300

    300

    #D1B6D8

    oklch(81% 0.055 319.3)

  5. Step 400

    400

    #B98FC5

    oklch(70.8% 0.09 318.6)

  6. Step 500

    500

    #A772B6

    oklch(63.1% 0.115 318.6)

  7. Step 600

    600

    #9259A2

    oklch(55.6% 0.126 318.6)

  8. Step 700

    700

    #7C498A

    oklch(49.1% 0.115 318.7)

  9. Step 800

    800 (this color)

    #5F366A

    oklch(40.5% 0.097 318.9)

  10. Step 900

    900

    #53345B

    oklch(37.8% 0.075 319.2)

  11. Step 950

    950

    #301F35

    oklch(27% 0.046 318.4)

Export this scale for Tailwind in the Tailwind colors tool

#5F366A 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)#2D436C0.086
Deuteranopia (no green cones)#3947690.077
Tritanopia (no blue cones)#5F3D4B0.061
Achromatopsia (no color)#4646460.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F366A

    #5F366A

    oklch(40.5% 0.097 318.9)

  • #2B551E

    #2B551E

    oklch(40.5% 0.096 138.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F366A

    #5F366A

    oklch(40.5% 0.097 318.9)

  • #483E7A

    #483E7A

    oklch(40.4% 0.098 288.9)

  • #6E3051

    #6E3051

    oklch(40.5% 0.097 349.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F366A

    #5F366A

    oklch(40.5% 0.097 318.9)

  • #4D4C00

    #4D4C00

    oklch(40.4% 0.088 108.9)

  • #005741

    #005741

    oklch(40.6% 0.082 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F366A

    #5F366A

    oklch(40.5% 0.097 318.9)

  • #614300

    #614300

    oklch(40.6% 0.084 79.7)

  • #005457

    #005457

    oklch(40.5% 0.069 199)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F366A

    #5F366A

    oklch(40.5% 0.097 318.9)

  • #723610

    #723610

    oklch(40.6% 0.098 48.6)

  • #2B551E

    #2B551E

    oklch(40.5% 0.096 138.9)

  • #00516B

    #00516B

    oklch(40.6% 0.079 228.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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