#5E2A85

Closest named color: Rebecca Purple (#663399). oklch(40.3% 0.148 307.2), rgb(94, 42, 133).

Aa

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

About this color

#5E2A85 is a dark, vivid purple. In OKLCH its lightness is 40%, its chroma 0.148 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.78:1.

Hue familyPurples
Lightnessdark (40%)
Chromavivid (0.148)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.14:1
White text9.78:1

Values

HEX#5E2A85
RGBrgb(94, 42, 133)
HSLhsl(274, 52%, 34%)
OKLCHoklch(40.3% 0.148 307.2)

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 #5E2A85 9.78:1 AAA Lc -96.3 Preferred for body text
Black text on #5E2A85 2.14:1 Fails Lc 11.9 Not readable
#5E2A85 text on white 9.78:1 AAA Lc 92.1 Preferred for body text
#5E2A85 text on black 2.14:1 Fails Lc -10.3 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

    #E1D1F3

    oklch(88.4% 0.049 306.6)

  4. Step 300

    300

    #CFB2ED

    oklch(80.8% 0.087 306.9)

  5. Step 400

    400

    #B888E3

    oklch(70.8% 0.138 307.5)

  6. Step 500

    500

    #A667DB

    oklch(63.2% 0.176 307.2)

  7. Step 600

    600

    #914AC9

    oklch(55.6% 0.193 306.9)

  8. Step 700

    700

    #7C3AAD

    oklch(49.1% 0.179 307.4)

  9. Step 800

    800 (this color)

    #5E2A85

    oklch(40.3% 0.148 307.2)

  10. Step 900

    900

    #522D70

    oklch(37.7% 0.115 307.3)

  11. Step 950

    950

    #301B42

    oklch(27% 0.073 307)

Export this scale for Tailwind in the Tailwind colors tool

#5E2A85 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)#0042880.123
Deuteranopia (no green cones)#1544830.116
Tritanopia (no blue cones)#583D540.103
Achromatopsia (no color)#4444440.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E2A85

    #5E2A85

    oklch(40.3% 0.148 307.2)

  • #395200

    #395200

    oklch(40.3% 0.104 127.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E2A85

    #5E2A85

    oklch(40.3% 0.148 307.2)

  • #393996

    #393996

    oklch(40.3% 0.149 277.4)

  • #761C65

    #761C65

    oklch(40.3% 0.148 336.8)

Open the analogous palette in the generator

Split complementary

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

  • #5E2A85

    #5E2A85

    oklch(40.3% 0.148 307.2)

  • #554800

    #554800

    oklch(40.3% 0.083 97.3)

  • #005733

    #005733

    oklch(40.2% 0.095 157.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E2A85

    #5E2A85

    oklch(40.3% 0.148 307.2)

  • #683D00

    #683D00

    oklch(40.3% 0.089 66.6)

  • #00554F

    #00554F

    oklch(40.5% 0.071 186.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E2A85

    #5E2A85

    oklch(40.3% 0.148 307.2)

  • #812300

    #812300

    oklch(40.3% 0.134 37.2)

  • #395200

    #395200

    oklch(40.3% 0.104 127.1)

  • #005262

    #005262

    oklch(40.4% 0.072 216.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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