#4E1F5C

Closest named color: Grape Purple (#5D1451). oklch(33.7% 0.112 317.7), rgb(78, 31, 92).

Aa

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

About this color

#4E1F5C is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.112 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.040 away. White text reads best on it, at 12.54:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.67:1
White text12.54:1

Values

HEX#4E1F5C
RGBrgb(78, 31, 92)
HSLhsl(286, 50%, 24%)
OKLCHoklch(33.7% 0.112 317.7)

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 #4E1F5C 12.54:1 AAA Lc -101.4 Preferred for body text
Black text on #4E1F5C 1.67:1 Fails Lc 0.0 Not readable
#4E1F5C text on white 12.54:1 AAA Lc 98.0 Preferred for body text
#4E1F5C text on black 1.67: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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EE

    oklch(88.5% 0.047 317.1)

  4. Step 300

    300

    #D8B0E5

    oklch(81% 0.085 317.8)

  5. Step 400

    400

    #C384D7

    oklch(70.7% 0.135 317.8)

  6. Step 500

    500

    #B362CC

    oklch(63.1% 0.172 317.7)

  7. Step 600

    600

    #9E45B9

    oklch(55.5% 0.188 317.6)

  8. Step 700

    700

    #87369F

    oklch(49.1% 0.174 317.6)

  9. Step 800

    800

    #6E2E81

    oklch(42.7% 0.144 317.7)

  10. Step 900

    900 (this color)

    #4E1F5C

    oklch(33.7% 0.112 317.7)

  11. Step 950

    950

    #34193D

    oklch(26.9% 0.072 317.1)

Export this scale for Tailwind in the Tailwind colors tool

#4E1F5C 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)#0D305E0.108
Deuteranopia (no green cones)#21355A0.094
Tritanopia (no blue cones)#4E293A0.071
Achromatopsia (no color)#3434340.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1F5C

    #4E1F5C

    oklch(33.7% 0.112 317.7)

  • #174300

    #174300

    oklch(33.8% 0.104 137.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1F5C

    #4E1F5C

    oklch(33.7% 0.112 317.7)

  • #36296D

    #36296D

    oklch(33.7% 0.113 287.5)

  • #5E1741

    #5E1741

    oklch(33.8% 0.112 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #4E1F5C

    #4E1F5C

    oklch(33.7% 0.112 317.7)

  • #3B3900

    #3B3900

    oklch(33.6% 0.072 107.5)

  • #004230

    #004230

    oklch(33.7% 0.068 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1F5C

    #4E1F5C

    oklch(33.7% 0.112 317.7)

  • #4B3200

    #4B3200

    oklch(33.8% 0.07 78.2)

  • #004042

    #004042

    oklch(33.7% 0.057 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1F5C

    #4E1F5C

    oklch(33.7% 0.112 317.7)

  • #5C2400

    #5C2400

    oklch(33.7% 0.093 47.1)

  • #174300

    #174300

    oklch(33.8% 0.104 137.9)

  • #003D52

    #003D52

    oklch(33.7% 0.066 228.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4E1F5C 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.