#5E2C84

Closest named color: Rebecca Purple (#663399). oklch(40.5% 0.144 307.3), rgb(94, 44, 132).

Aa

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

About this color

#5E2C84 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.144 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.040 away. White text reads best on it, at 9.68:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.144)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.16:1
White text9.68:1

Values

HEX#5E2C84
RGBrgb(94, 44, 132)
HSLhsl(274, 50%, 35%)
OKLCHoklch(40.5% 0.144 307.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 #5E2C84 9.68:1 AAA Lc -96.2 Preferred for body text
Black text on #5E2C84 2.16:1 Fails Lc 12.1 Not readable
#5E2C84 text on white 9.68:1 AAA Lc 91.9 Preferred for body text
#5E2C84 text on black 2.16:1 Fails Lc -10.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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EEE6F7

    oklch(93.6% 0.024 307)

  3. Step 200

    200

    #E1D2F2

    oklch(88.6% 0.046 306.6)

  4. Step 300

    300

    #CFB3EB

    oklch(80.9% 0.083 307.3)

  5. Step 400

    400

    #B789E2

    oklch(70.8% 0.135 307.1)

  6. Step 500

    500

    #A568D9

    oklch(63.1% 0.172 307.1)

  7. Step 600

    600

    #914CC6

    oklch(55.6% 0.187 307.5)

  8. Step 700

    700

    #7B3CAB

    oklch(49.1% 0.173 307.3)

  9. Step 800

    800 (this color)

    #5E2C84

    oklch(40.5% 0.144 307.3)

  10. Step 900

    900

    #522E6F

    oklch(37.8% 0.112 307.5)

  11. Step 950

    950

    #301B41

    oklch(27% 0.072 307.8)

Export this scale for Tailwind in the Tailwind colors tool

#5E2C84 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)#0043870.122
Deuteranopia (no green cones)#1A45820.112
Tritanopia (no blue cones)#583E540.101
Achromatopsia (no color)#4444440.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E2C84

    #5E2C84

    oklch(40.5% 0.144 307.3)

  • #395300

    #395300

    oklch(40.6% 0.105 127.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E2C84

    #5E2C84

    oklch(40.5% 0.144 307.3)

  • #393B94

    #393B94

    oklch(40.5% 0.143 276.9)

  • #761F64

    #761F64

    oklch(40.5% 0.144 337.5)

Open the analogous palette in the generator

Split complementary

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

  • #5E2C84

    #5E2C84

    oklch(40.5% 0.144 307.3)

  • #564900

    #564900

    oklch(40.6% 0.084 97.5)

  • #005833

    #005833

    oklch(40.5% 0.097 157)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E2C84

    #5E2C84

    oklch(40.5% 0.144 307.3)

  • #683E00

    #683E00

    oklch(40.5% 0.089 67.7)

  • #005550

    #005550

    oklch(40.5% 0.07 187.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E2C84

    #5E2C84

    oklch(40.5% 0.144 307.3)

  • #822300

    #822300

    oklch(40.5% 0.135 37.1)

  • #395300

    #395300

    oklch(40.6% 0.105 127.5)

  • #005263

    #005263

    oklch(40.5% 0.073 218)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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