#5F3D79

Closest named color: Dark Slate Blue (#483D8B). oklch(42.6% 0.103 308.8), rgb(95, 61, 121).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.43:1
White text8.64:1

Values

HEX#5F3D79
RGBrgb(95, 61, 121)
HSLhsl(274, 33%, 36%)
OKLCHoklch(42.6% 0.103 308.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 #5F3D79 8.64:1 AAA Lc -94.0 Preferred for body text
Black text on #5F3D79 2.43:1 Fails Lc 14.5 Not readable
#5F3D79 text on white 8.64:1 AAA Lc 89.5 Fine for body text
#5F3D79 text on black 2.43:1 Fails Lc -12.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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DFD4EA

    oklch(88.5% 0.032 308.1)

  4. Step 300

    300

    #CCB7DF

    oklch(81% 0.06 308.7)

  5. Step 400

    400

    #B290CE

    oklch(70.7% 0.096 309.1)

  6. Step 500

    500

    #9F74C2

    oklch(63.2% 0.122 308.6)

  7. Step 600

    600

    #8A5BAE

    oklch(55.7% 0.133 308.8)

  8. Step 700

    700

    #754A95

    oklch(49.1% 0.124 309)

  9. Step 800

    800 (this color)

    #5F3D79

    oklch(42.6% 0.103 308.8)

  10. Step 900

    900

    #4E3562

    oklch(37.8% 0.08 308.6)

  11. Step 950

    950

    #2E1F39

    oklch(27% 0.051 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#5F3D79 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)#2E4A7B0.080
Deuteranopia (no green cones)#374C770.073
Tritanopia (no blue cones)#5C47550.074
Achromatopsia (no color)#4C4C4C0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F3D79

    #5F3D79

    oklch(42.6% 0.103 308.8)

  • #3D5910

    #3D5910

    oklch(42.6% 0.103 128.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F3D79

    #5F3D79

    oklch(42.6% 0.103 308.8)

  • #434786

    #434786

    oklch(42.7% 0.103 278.3)

  • #723661

    #723661

    oklch(42.7% 0.102 339.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F3D79

    #5F3D79

    oklch(42.6% 0.103 308.8)

  • #5B4F00

    #5B4F00

    oklch(42.7% 0.088 99.2)

  • #005E3A

    #005E3A

    oklch(42.5% 0.098 158.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F3D79

    #5F3D79

    oklch(42.6% 0.103 308.8)

  • #6F4400

    #6F4400

    oklch(42.7% 0.093 69.4)

  • #005B57

    #005B57

    oklch(42.5% 0.073 189.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F3D79

    #5F3D79

    oklch(42.6% 0.103 308.8)

  • #7C3720

    #7C3720

    oklch(42.5% 0.103 38.7)

  • #3D5910

    #3D5910

    oklch(42.6% 0.103 128.9)

  • #00586B

    #00586B

    oklch(42.5% 0.077 219.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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