#5E288B

Closest named color: Rebecca Purple (#663399). oklch(40.5% 0.157 305.3), rgb(94, 40, 139).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.157)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.15:1
White text9.75:1

Values

HEX#5E288B
RGBrgb(94, 40, 139)
HSLhsl(273, 55%, 35%)
OKLCHoklch(40.5% 0.157 305.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 #5E288B 9.75:1 AAA Lc -96.2 Preferred for body text
Black text on #5E288B 2.15:1 Fails Lc 12.0 Not readable
#5E288B text on white 9.75:1 AAA Lc 91.9 Preferred for body text
#5E288B text on black 2.15: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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F5

    oklch(88.5% 0.052 305.4)

  4. Step 300

    300

    #CFB2F1

    oklch(81% 0.092 305.4)

  5. Step 400

    400

    #B787E9

    oklch(70.8% 0.146 305.5)

  6. Step 500

    500

    #A564E2

    oklch(63% 0.188 305.5)

  7. Step 600

    600

    #9147D0

    oklch(55.7% 0.204 305.5)

  8. Step 700

    700

    #7B37B4

    oklch(49.1% 0.19 305.3)

  9. Step 800

    800 (this color)

    #5E288B

    oklch(40.5% 0.157 305.3)

  10. Step 900

    900

    #512B74

    oklch(37.6% 0.123 305.2)

  11. Step 950

    950

    #301A44

    oklch(27% 0.078 306)

Export this scale for Tailwind in the Tailwind colors tool

#5E288B 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)#00428E0.123
Deuteranopia (no green cones)#0244890.124
Tritanopia (no blue cones)#563F560.114
Achromatopsia (no color)#4444440.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E288B

    #5E288B

    oklch(40.5% 0.157 305.3)

  • #3C5200

    #3C5200

    oklch(40.5% 0.102 125.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E288B

    #5E288B

    oklch(40.5% 0.157 305.3)

  • #35399C

    #35399C

    oklch(40.6% 0.158 275.1)

  • #781869

    #781869

    oklch(40.5% 0.157 335.4)

Open the analogous palette in the generator

Split complementary

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

  • #5E288B

    #5E288B

    oklch(40.5% 0.157 305.3)

  • #574800

    #574800

    oklch(40.5% 0.083 95.4)

  • #005830

    #005830

    oklch(40.4% 0.1 155.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E288B

    #5E288B

    oklch(40.5% 0.157 305.3)

  • #6A3D00

    #6A3D00

    oklch(40.6% 0.091 65.1)

  • #00554E

    #00554E

    oklch(40.4% 0.071 185.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E288B

    #5E288B

    oklch(40.5% 0.157 305.3)

  • #841F00

    #841F00

    oklch(40.5% 0.141 35.4)

  • #3C5200

    #3C5200

    oklch(40.5% 0.102 125.4)

  • #005261

    #005261

    oklch(40.4% 0.072 215.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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