#5F3C84

Closest named color: Rebecca Purple (#663399). oklch(43.1% 0.119 304.3), rgb(95, 60, 132).

Aa

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

About this color

#5F3C84 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.119 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.043 away. White text reads best on it, at 8.51:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.46:1
White text8.51:1

Values

HEX#5F3C84
RGBrgb(95, 60, 132)
HSLhsl(269, 38%, 38%)
OKLCHoklch(43.1% 0.119 304.3)

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 #5F3C84 8.51:1 AAA Lc -93.6 Preferred for body text
Black text on #5F3C84 2.46:1 Fails Lc 14.9 Not readable
#5F3C84 text on white 8.51:1 AAA Lc 89.0 Fine for body text
#5F3C84 text on black 2.46:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #EDE7F5

    oklch(93.7% 0.02 305.3)

  3. Step 200

    200

    #DED3EE

    oklch(88.4% 0.038 304)

  4. Step 300

    300

    #CAB6E6

    oklch(80.9% 0.07 303.8)

  5. Step 400

    400

    #B08FD9

    oklch(70.8% 0.111 304.2)

  6. Step 500

    500

    #9D71CE

    oklch(63.1% 0.142 304.5)

  7. Step 600

    600

    #8857BB

    oklch(55.6% 0.155 304.5)

  8. Step 700

    700

    #7347A1

    oklch(49.1% 0.143 304.2)

  9. Step 800

    800 (this color)

    #5F3C84

    oklch(43.1% 0.119 304.3)

  10. Step 900

    900

    #4D3369

    oklch(37.7% 0.093 304.6)

  11. Step 950

    950

    #2D1E3D

    oklch(26.9% 0.059 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#5F3C84 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)#244C860.090
Deuteranopia (no green cones)#2F4D820.082
Tritanopia (no blue cones)#59495A0.087
Achromatopsia (no color)#4D4D4D0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F3C84

    #5F3C84

    oklch(43.1% 0.119 304.3)

  • #445900

    #445900

    oklch(43.1% 0.107 123.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F3C84

    #5F3C84

    oklch(43.1% 0.119 304.3)

  • #3E4890

    #3E4890

    oklch(43.2% 0.118 274.4)

  • #76336A

    #76336A

    oklch(43.2% 0.118 334.8)

Open the analogous palette in the generator

Split complementary

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

  • #5F3C84

    #5F3C84

    oklch(43.1% 0.119 304.3)

  • #604F00

    #604F00

    oklch(43.2% 0.089 94.6)

  • #006134

    #006134

    oklch(43.2% 0.108 154.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F3C84

    #5F3C84

    oklch(43.1% 0.119 304.3)

  • #744300

    #744300

    oklch(43.2% 0.097 64.9)

  • #005D55

    #005D55

    oklch(43% 0.076 184.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F3C84

    #5F3C84

    oklch(43.1% 0.119 304.3)

  • #85321F

    #85321F

    oklch(43.2% 0.119 34.3)

  • #445900

    #445900

    oklch(43.1% 0.107 123.9)

  • #005A6A

    #005A6A

    oklch(43% 0.076 215.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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