#5F3561

Closest named color: Purple Brown (#673A3F). oklch(39.9% 0.088 325.4), rgb(95, 53, 97).

Aa

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

About this color

#5F3561 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.088 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.066 away. White text reads best on it, at 9.68:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest namePurple Brown (#673A3F)
Black text2.16:1
White text9.68:1

Values

HEX#5F3561
RGBrgb(95, 53, 97)
HSLhsl(297, 29%, 29%)
OKLCHoklch(39.9% 0.088 325.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 #5F3561 9.68:1 AAA Lc -96.5 Preferred for body text
Black text on #5F3561 2.16:1 Fails Lc 11.7 Not readable
#5F3561 text on white 9.68:1 AAA Lc 92.2 Preferred for body text
#5F3561 text on black 2.16:1 Fails Lc -10.2 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 900.

  1. Step 50

    50

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E6F1

    oklch(93.7% 0.019 325.7)

  3. Step 200

    200

    #E6D1E7

    oklch(88.4% 0.037 324.5)

  4. Step 300

    300

    #D7B2D8

    oklch(80.8% 0.066 325.3)

  5. Step 400

    400

    #C389C5

    oklch(70.7% 0.107 325.5)

  6. Step 500

    500

    #B26AB6

    oklch(63.1% 0.136 325.1)

  7. Step 600

    600

    #9D50A1

    oklch(55.5% 0.147 325.5)

  8. Step 700

    700

    #86408A

    oklch(49% 0.137 325.3)

  9. Step 800

    800

    #6D3670

    oklch(42.7% 0.112 325.4)

  10. Step 900

    900 (this color)

    #5F3561

    oklch(39.9% 0.088 325.4)

  11. Step 950

    950

    #341C35

    oklch(27% 0.056 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F3561 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)#3141630.082
Deuteranopia (no green cones)#3C46600.074
Tritanopia (no blue cones)#613A460.052
Achromatopsia (no color)#4444440.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F3561

    #5F3561

    oklch(39.9% 0.088 325.4)

  • #245428

    #245428

    oklch(40% 0.089 145.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F3561

    #5F3561

    oklch(39.9% 0.088 325.4)

  • #4C3C71

    #4C3C71

    oklch(39.9% 0.088 296.1)

  • #6B3149

    #6B3149

    oklch(39.9% 0.088 355.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F3561

    #5F3561

    oklch(39.9% 0.088 325.4)

  • #464D04

    #464D04

    oklch(40% 0.089 115.7)

  • #005445

    #005445

    oklch(39.8% 0.075 175.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F3561

    #5F3561

    oklch(39.9% 0.088 325.4)

  • #5B4300

    #5B4300

    oklch(39.8% 0.082 85.3)

  • #005259

    #005259

    oklch(40% 0.068 204.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F3561

    #5F3561

    oklch(39.9% 0.088 325.4)

  • #6B390F

    #6B390F

    oklch(40% 0.088 55.5)

  • #245428

    #245428

    oklch(40% 0.089 145.3)

  • #004E6E

    #004E6E

    oklch(40% 0.084 234.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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