#5E1A47

Closest named color: Grape Purple (#5D1451). oklch(34.4% 0.112 344), rgb(94, 26, 71).

Aa

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

About this color

#5E1A47 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.112 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.023 away. White text reads best on it, at 12.24:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.71:1
White text12.24:1

Values

HEX#5E1A47
RGBrgb(94, 26, 71)
HSLhsl(320, 57%, 24%)
OKLCHoklch(34.4% 0.112 344)

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 #5E1A47 12.24:1 AAA Lc -100.7 Preferred for body text
Black text on #5E1A47 1.71:1 Fails Lc 0.0 Not readable
#5E1A47 text on white 12.24:1 AAA Lc 97.1 Preferred for body text
#5E1A47 text on black 1.71:1 Fails Lc 0.0 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 900.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE1

    oklch(88.5% 0.048 343.6)

  4. Step 300

    300

    #E8ABCE

    oklch(80.8% 0.084 343.8)

  5. Step 400

    400

    #DA7CB5

    oklch(70.6% 0.135 343.9)

  6. Step 500

    500

    #CD57A3

    oklch(63% 0.172 343.7)

  7. Step 600

    600

    #B9388E

    oklch(55.7% 0.187 344)

  8. Step 700

    700

    #9F2978

    oklch(49.2% 0.173 344.3)

  9. Step 800

    800

    #812462

    oklch(42.7% 0.144 344)

  10. Step 900

    900 (this color)

    #5E1A47

    oklch(34.4% 0.112 344)

  11. Step 950

    950

    #3D162F

    oklch(27% 0.071 343.6)

Export this scale for Tailwind in the Tailwind colors tool

#5E1A47 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)#212E480.122
Deuteranopia (no green cones)#3539450.108
Tritanopia (no blue cones)#641A2E0.047
Achromatopsia (no color)#3535350.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E1A47

    #5E1A47

    oklch(34.4% 0.112 344)

  • #00452F

    #00452F

    oklch(34.6% 0.074 164.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E1A47

    #5E1A47

    oklch(34.4% 0.112 344)

  • #4D2261

    #4D2261

    oklch(34.3% 0.113 313.5)

  • #661727

    #661727

    oklch(34.4% 0.111 13.9)

Open the analogous palette in the generator

Split complementary

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

  • #5E1A47

    #5E1A47

    oklch(34.4% 0.112 344)

  • #214300

    #214300

    oklch(34.3% 0.099 134.1)

  • #004242

    #004242

    oklch(34.3% 0.059 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E1A47

    #5E1A47

    oklch(34.4% 0.112 344)

  • #403A00

    #403A00

    oklch(34.4% 0.072 103)

  • #004052

    #004052

    oklch(34.5% 0.065 223.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E1A47

    #5E1A47

    oklch(34.4% 0.112 344)

  • #4F3200

    #4F3200

    oklch(34.4% 0.073 73.9)

  • #00452F

    #00452F

    oklch(34.6% 0.074 164.2)

  • #003870

    #003870

    oklch(34.4% 0.11 254.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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