#4E1C40

Closest named color: Grape Purple (#5D1451). oklch(31.6% 0.09 339.9), rgb(78, 28, 64).

Aa

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

About this color

#4E1C40 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.090 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.046 away. White text reads best on it, at 13.42:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.090)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.56:1
White text13.42:1

Values

HEX#4E1C40
RGBrgb(78, 28, 64)
HSLhsl(317, 47%, 21%)
OKLCHoklch(31.6% 0.09 339.9)

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 #4E1C40 13.42:1 AAA Lc -102.7 Preferred for body text
Black text on #4E1C40 1.56:1 Fails Lc 0.0 Not readable
#4E1C40 text on white 13.42:1 AAA Lc 99.4 Preferred for body text
#4E1C40 text on black 1.56: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 950.

  1. Step 50

    50

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F9E2F0

    oklch(93.5% 0.031 340.6)

  3. Step 200

    200

    #F5CBE6

    oklch(88.6% 0.059 339.6)

  4. Step 300

    300

    #EFA6D6

    oklch(81% 0.105 340.1)

  5. Step 400

    400

    #E371C2

    oklch(70.6% 0.17 339.5)

  6. Step 500

    500

    #D843B2

    oklch(63.1% 0.217 339.8)

  7. Step 600

    600

    #C30E9D

    oklch(55.5% 0.236 339.9)

  8. Step 700

    700

    #A70086

    oklch(49.2% 0.214 339.9)

  9. Step 800

    800

    #89066D

    oklch(42.8% 0.182 340.2)

  10. Step 900

    900

    #6E1659

    oklch(37.7% 0.141 339.6)

  11. Step 950

    950 (this color)

    #4E1C40

    oklch(31.6% 0.09 339.9)

Export this scale for Tailwind in the Tailwind colors tool

#4E1C40 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)#1E2A410.096
Deuteranopia (no green cones)#2D323F0.085
Tritanopia (no blue cones)#531D2B0.041
Achromatopsia (no color)#2F2F2F0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1C40

    #4E1C40

    oklch(31.6% 0.09 339.9)

  • #003D25

    #003D25

    oklch(31.8% 0.072 159.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1C40

    #4E1C40

    oklch(31.6% 0.09 339.9)

  • #402253

    #402253

    oklch(31.6% 0.09 310.5)

  • #561927

    #561927

    oklch(31.6% 0.091 10.1)

Open the analogous palette in the generator

Split complementary

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

  • #4E1C40

    #4E1C40

    oklch(31.6% 0.09 339.9)

  • #233A00

    #233A00

    oklch(31.7% 0.085 130)

  • #003A38

    #003A38

    oklch(31.5% 0.054 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1C40

    #4E1C40

    oklch(31.6% 0.09 339.9)

  • #3A3200

    #3A3200

    oklch(31.6% 0.066 99.5)

  • #003846

    #003846

    oklch(31.5% 0.058 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1C40

    #4E1C40

    oklch(31.6% 0.09 339.9)

  • #482A00

    #482A00

    oklch(31.6% 0.069 68.7)

  • #003D25

    #003D25

    oklch(31.8% 0.072 159.8)

  • #00335D

    #00335D

    oklch(31.6% 0.09 250)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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