#4E1C46

Closest named color: Grape Purple (#5D1451). oklch(31.9% 0.095 334.2), rgb(78, 28, 70).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.57:1
White text13.30:1

Values

HEX#4E1C46
RGBrgb(78, 28, 70)
HSLhsl(310, 47%, 21%)
OKLCHoklch(31.9% 0.095 334.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 #4E1C46 13.30:1 AAA Lc -102.5 Preferred for body text
Black text on #4E1C46 1.57:1 Fails Lc 0.0 Not readable
#4E1C46 text on white 13.30:1 AAA Lc 99.2 Preferred for body text
#4E1C46 text on black 1.57: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

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F8E2F3

    oklch(93.5% 0.033 333.6)

  3. Step 200

    200

    #F4CAEA

    oklch(88.5% 0.063 334.5)

  4. Step 300

    300

    #EDA5DE

    oklch(80.9% 0.112 334.3)

  5. Step 400

    400

    #E170CE

    oklch(70.7% 0.179 334)

  6. Step 500

    500

    #D63FC1

    oklch(63.1% 0.231 334.2)

  7. Step 600

    600

    #C000AC

    oklch(55.5% 0.248 334.2)

  8. Step 700

    700

    #A30092

    oklch(49.2% 0.22 334.2)

  9. Step 800

    800

    #860078

    oklch(42.6% 0.19 334.1)

  10. Step 900

    900

    #6D1361

    oklch(37.8% 0.15 334.4)

  11. Step 950

    950 (this color)

    #4E1C46

    oklch(31.9% 0.095 334.2)

Export this scale for Tailwind in the Tailwind colors tool

#4E1C46 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)#1B2B470.100
Deuteranopia (no green cones)#2B32450.086
Tritanopia (no blue cones)#521F2E0.048
Achromatopsia (no color)#2F2F2F0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1C46

    #4E1C46

    oklch(31.9% 0.095 334.2)

  • #003E1F

    #003E1F

    oklch(31.9% 0.08 154.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1C46

    #4E1C46

    oklch(31.9% 0.095 334.2)

  • #3E2359

    #3E2359

    oklch(31.9% 0.095 304.7)

  • #57182D

    #57182D

    oklch(31.8% 0.094 3.8)

Open the analogous palette in the generator

Split complementary

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

  • #4E1C46

    #4E1C46

    oklch(31.9% 0.095 334.2)

  • #2A3900

    #2A3900

    oklch(31.9% 0.08 124.4)

  • #003C36

    #003C36

    oklch(32% 0.057 183.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1C46

    #4E1C46

    oklch(31.9% 0.095 334.2)

  • #3E3200

    #3E3200

    oklch(32.1% 0.066 94.3)

  • #003A44

    #003A44

    oklch(32% 0.056 213.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1C46

    #4E1C46

    oklch(31.9% 0.095 334.2)

  • #4B2900

    #4B2900

    oklch(31.8% 0.072 64.2)

  • #003E1F

    #003E1F

    oklch(31.9% 0.08 154.3)

  • #003658

    #003658

    oklch(32.1% 0.079 244)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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