#5F3461

Closest named color: Purple Brown (#673A3F). oklch(39.7% 0.09 325.5), rgb(95, 52, 97).

Aa

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

About this color

#5F3461 is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.090 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.067 away. White text reads best on it, at 9.76:1.

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

Values

HEX#5F3461
RGBrgb(95, 52, 97)
HSLhsl(297, 30%, 29%)
OKLCHoklch(39.7% 0.09 325.5)

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 #5F3461 9.76:1 AAA Lc -96.6 Preferred for body text
Black text on #5F3461 2.15:1 Fails Lc 11.5 Not readable
#5F3461 text on white 9.76:1 AAA Lc 92.4 Preferred for body text
#5F3461 text on black 2.15:1 Fails Lc -10.0 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

    #E7D1E7

    oklch(88.5% 0.038 325.9)

  4. Step 300

    300

    #D8B2D9

    oklch(80.9% 0.068 325.4)

  5. Step 400

    400

    #C389C5

    oklch(70.7% 0.107 325.5)

  6. Step 500

    500

    #B369B6

    oklch(63% 0.138 325.7)

  7. Step 600

    600

    #9E4FA2

    oklch(55.6% 0.15 325.5)

  8. Step 700

    700

    #873F8B

    oklch(49% 0.14 325.4)

  9. Step 800

    800

    #6E3571

    oklch(42.8% 0.116 325.5)

  10. Step 900

    900 (this color)

    #5F3461

    oklch(39.7% 0.09 325.5)

  11. Step 950

    950

    #341C35

    oklch(27% 0.056 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F3461 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)#3040630.084
Deuteranopia (no green cones)#3B46600.077
Tritanopia (no blue cones)#6139460.052
Achromatopsia (no color)#4444440.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F3461

    #5F3461

    oklch(39.7% 0.09 325.5)

  • #225327

    #225327

    oklch(39.6% 0.089 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F3461

    #5F3461

    oklch(39.7% 0.09 325.5)

  • #4B3B72

    #4B3B72

    oklch(39.6% 0.091 295.3)

  • #6B3049

    #6B3049

    oklch(39.7% 0.089 355.3)

Open the analogous palette in the generator

Split complementary

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

  • #5F3461

    #5F3461

    oklch(39.7% 0.09 325.5)

  • #454C00

    #454C00

    oklch(39.6% 0.09 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.

  • #5F3461

    #5F3461

    oklch(39.7% 0.09 325.5)

  • #5B4300

    #5B4300

    oklch(39.8% 0.082 85.3)

  • #005158

    #005158

    oklch(39.7% 0.068 204.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F3461

    #5F3461

    oklch(39.7% 0.09 325.5)

  • #6B380B

    #6B380B

    oklch(39.8% 0.09 55.8)

  • #225327

    #225327

    oklch(39.6% 0.089 145.6)

  • #004D6E

    #004D6E

    oklch(39.7% 0.085 235.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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