#5F356B

Closest named color: Dark Slate Blue (#483D8B). oklch(40.4% 0.1 318.4), rgb(95, 53, 107).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.20:1
White text9.51:1

Values

HEX#5F356B
RGBrgb(95, 53, 107)
HSLhsl(287, 34%, 31%)
OKLCHoklch(40.4% 0.1 318.4)

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 #5F356B 9.51:1 AAA Lc -96.0 Preferred for body text
Black text on #5F356B 2.20:1 Fails Lc 12.2 Not readable
#5F356B text on white 9.51:1 AAA Lc 91.8 Preferred for body text
#5F356B text on black 2.20:1 Fails Lc -10.6 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

    #EFE6F1

    oklch(93.5% 0.018 320.1)

  3. Step 200

    200

    #E3D3E7

    oklch(88.6% 0.032 319.5)

  4. Step 300

    300

    #D1B5D9

    oklch(80.8% 0.058 318.7)

  5. Step 400

    400

    #B98EC6

    oklch(70.6% 0.093 318.2)

  6. Step 500

    500

    #A871B8

    oklch(63.2% 0.12 318.4)

  7. Step 600

    600

    #9358A4

    oklch(55.7% 0.13 318.4)

  8. Step 700

    700

    #7D488C

    oklch(49.2% 0.12 318.5)

  9. Step 800

    800 (this color)

    #5F356B

    oklch(40.4% 0.1 318.4)

  10. Step 900

    900

    #53335C

    oklch(37.7% 0.078 318.6)

  11. Step 950

    950

    #311E36

    oklch(27% 0.05 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#5F356B 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)#2C436D0.089
Deuteranopia (no green cones)#3847690.080
Tritanopia (no blue cones)#5F3C4B0.063
Achromatopsia (no color)#4646460.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F356B

    #5F356B

    oklch(40.4% 0.1 318.4)

  • #2A551B

    #2A551B

    oklch(40.4% 0.1 138.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F356B

    #5F356B

    oklch(40.4% 0.1 318.4)

  • #483E7B

    #483E7B

    oklch(40.5% 0.1 288.7)

  • #6E2F52

    #6E2F52

    oklch(40.4% 0.1 348)

Open the analogous palette in the generator

Split complementary

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

  • #5F356B

    #5F356B

    oklch(40.4% 0.1 318.4)

  • #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.

  • #5F356B

    #5F356B

    oklch(40.4% 0.1 318.4)

  • #614200

    #614200

    oklch(40.4% 0.084 78.4)

  • #005456

    #005456

    oklch(40.5% 0.069 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F356B

    #5F356B

    oklch(40.4% 0.1 318.4)

  • #72350D

    #72350D

    oklch(40.4% 0.099 48.8)

  • #2A551B

    #2A551B

    oklch(40.4% 0.1 138.6)

  • #00506A

    #00506A

    oklch(40.3% 0.079 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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