#5E1DB2

Closest named color: Chrysanthemum (#560BAD). oklch(42.8% 0.21 295.4), rgb(94, 29, 178).

Aa

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

About this color

#5E1DB2 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.210 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Chrysanthemum (#560BAD), ΔE 0.026 away. White text reads best on it, at 9.15:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.210)
Temperaturein between
Nearest nameChrysanthemum (#560BAD)
Black text2.29:1
White text9.15:1

Values

HEX#5E1DB2
RGBrgb(94, 29, 178)
HSLhsl(266, 72%, 41%)
OKLCHoklch(42.8% 0.21 295.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 #5E1DB2 9.15:1 AAA Lc -94.3 Preferred for body text
Black text on #5E1DB2 2.29:1 Fails Lc 14.2 Not readable
#5E1DB2 text on white 9.15:1 AAA Lc 89.8 Fine for body text
#5E1DB2 text on black 2.29:1 Fails Lc -12.5 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

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FF

    oklch(93.6% 0.034 294.9)

  3. Step 200

    200

    #DCD1FF

    oklch(88.4% 0.064 296)

  4. Step 300

    300

    #C6B3FF

    oklch(81% 0.107 295.4)

  5. Step 400

    400

    #AA86FF

    oklch(70.6% 0.173 295.3)

  6. Step 500

    500

    #9860FF

    oklch(63% 0.225 295.4)

  7. Step 600

    600

    #882EFC

    oklch(55.6% 0.272 295.5)

  8. Step 700

    700

    #741ADC

    oklch(49.1% 0.254 295.5)

  9. Step 800

    800 (this color)

    #5E1DB2

    oklch(42.8% 0.21 295.4)

  10. Step 900

    900

    #4C228C

    oklch(37.7% 0.163 295.5)

  11. Step 950

    950

    #2C1652

    oklch(27% 0.104 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#5E1DB2 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)#0049B60.122
Deuteranopia (no green cones)#0046AF0.121
Tritanopia (no blue cones)#454A6A0.160
Achromatopsia (no color)#4848480.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E1DB2

    #5E1DB2

    oklch(42.8% 0.21 295.4)

  • #4E5500

    #4E5500

    oklch(42.8% 0.097 115.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E1DB2

    #5E1DB2

    oklch(42.8% 0.21 295.4)

  • #173ABF

    #173ABF

    oklch(42.7% 0.21 265.5)

  • #810088

    #810088

    oklch(42.8% 0.2 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #5E1DB2

    #5E1DB2

    oklch(42.8% 0.21 295.4)

  • #654B00

    #654B00

    oklch(42.9% 0.088 85.7)

  • #006118

    #006118

    oklch(42.8% 0.133 145.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E1DB2

    #5E1DB2

    oklch(42.8% 0.21 295.4)

  • #7A3C00

    #7A3C00

    oklch(42.8% 0.106 54.9)

  • #005D4D

    #005D4D

    oklch(42.7% 0.08 175.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E1DB2

    #5E1DB2

    oklch(42.8% 0.21 295.4)

  • #980014

    #980014

    oklch(42.8% 0.174 25.4)

  • #4E5500

    #4E5500

    oklch(42.8% 0.097 115.1)

  • #005A63

    #005A63

    oklch(42.7% 0.073 206.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5E1DB2.

Similar named colors

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

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