#5E3B87

Closest named color: Rebecca Purple (#663399). oklch(43% 0.124 302.8), rgb(94, 59, 135).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.124)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.45:1
White text8.56:1

Values

HEX#5E3B87
RGBrgb(94, 59, 135)
HSLhsl(268, 39%, 38%)
OKLCHoklch(43% 0.124 302.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 #5E3B87 8.56:1 AAA Lc -93.7 Preferred for body text
Black text on #5E3B87 2.45:1 Fails Lc 14.8 Not readable
#5E3B87 text on white 8.56:1 AAA Lc 89.2 Fine for body text
#5E3B87 text on black 2.45:1 Fails Lc -13.1 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

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F0

    oklch(88.5% 0.041 302.8)

  4. Step 300

    300

    #CAB6E8

    oklch(81% 0.073 303.1)

  5. Step 400

    400

    #AF8EDC

    oklch(70.6% 0.116 303)

  6. Step 500

    500

    #9C70D3

    oklch(63.1% 0.149 302.9)

  7. Step 600

    600

    #8756C0

    oklch(55.6% 0.162 302.8)

  8. Step 700

    700

    #7246A5

    oklch(49.1% 0.149 302.6)

  9. Step 800

    800 (this color)

    #5E3B87

    oklch(43% 0.124 302.8)

  10. Step 900

    900

    #4C336B

    oklch(37.7% 0.096 302.7)

  11. Step 950

    950

    #2C1E3F

    oklch(26.9% 0.062 302)

Export this scale for Tailwind in the Tailwind colors tool

#5E3B87 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)#1F4B8A0.093
Deuteranopia (no green cones)#2A4C850.085
Tritanopia (no blue cones)#564A5B0.094
Achromatopsia (no color)#4C4C4C0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E3B87

    #5E3B87

    oklch(43% 0.124 302.8)

  • #465800

    #465800

    oklch(43% 0.105 122.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E3B87

    #5E3B87

    oklch(43% 0.124 302.8)

  • #3B4793

    #3B4793

    oklch(43% 0.125 273.3)

  • #76316D

    #76316D

    oklch(43.1% 0.124 332.8)

Open the analogous palette in the generator

Split complementary

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

  • #5E3B87

    #5E3B87

    oklch(43% 0.124 302.8)

  • #614E00

    #614E00

    oklch(43.1% 0.088 92.7)

  • #006130

    #006130

    oklch(43.2% 0.112 152.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E3B87

    #5E3B87

    oklch(43% 0.124 302.8)

  • #754200

    #754200

    oklch(43.2% 0.098 63.2)

  • #005D54

    #005D54

    oklch(43% 0.076 183.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E3B87

    #5E3B87

    oklch(43% 0.124 302.8)

  • #872F1E

    #872F1E

    oklch(43.1% 0.124 32.9)

  • #465800

    #465800

    oklch(43% 0.105 122.3)

  • #005A68

    #005A68

    oklch(42.9% 0.075 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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