#4E1C5D

Closest named color: Grape Purple (#5D1451). oklch(33.4% 0.118 317.5), rgb(78, 28, 93).

Aa

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

About this color

#4E1C5D is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.118 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.74:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.64:1
White text12.74:1

Values

HEX#4E1C5D
RGBrgb(78, 28, 93)
HSLhsl(286, 54%, 24%)
OKLCHoklch(33.4% 0.118 317.5)

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 #4E1C5D 12.74:1 AAA Lc -101.7 Preferred for body text
Black text on #4E1C5D 1.64:1 Fails Lc 0.0 Not readable
#4E1C5D text on white 12.74:1 AAA Lc 98.2 Preferred for body text
#4E1C5D text on black 1.64: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0EF

    oklch(88.6% 0.049 317.4)

  4. Step 300

    300

    #D9AFE6

    oklch(80.9% 0.088 318.1)

  5. Step 400

    400

    #C482DA

    oklch(70.6% 0.142 317.4)

  6. Step 500

    500

    #B55FD0

    oklch(63.1% 0.182 317.5)

  7. Step 600

    600

    #A041BD

    oklch(55.5% 0.198 317.4)

  8. Step 700

    700

    #8932A3

    oklch(49.1% 0.184 317.4)

  9. Step 800

    800

    #6F2B84

    oklch(42.7% 0.152 317.3)

  10. Step 900

    900 (this color)

    #4E1C5D

    oklch(33.4% 0.118 317.5)

  11. Step 950

    950

    #35193E

    oklch(27.1% 0.074 317.4)

Export this scale for Tailwind in the Tailwind colors tool

#4E1C5D 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)#052F5F0.115
Deuteranopia (no green cones)#1E345B0.099
Tritanopia (no blue cones)#4D283A0.075
Achromatopsia (no color)#3232320.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1C5D

    #4E1C5D

    oklch(33.4% 0.118 317.5)

  • #174100

    #174100

    oklch(33.2% 0.102 137.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1C5D

    #4E1C5D

    oklch(33.4% 0.118 317.5)

  • #35276E

    #35276E

    oklch(33.3% 0.118 287.3)

  • #5E1341

    #5E1341

    oklch(33.4% 0.117 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #4E1C5D

    #4E1C5D

    oklch(33.4% 0.118 317.5)

  • #3A3800

    #3A3800

    oklch(33.2% 0.071 107.5)

  • #00412F

    #00412F

    oklch(33.3% 0.068 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1C5D

    #4E1C5D

    oklch(33.4% 0.118 317.5)

  • #4A3100

    #4A3100

    oklch(33.4% 0.07 77.7)

  • #003F41

    #003F41

    oklch(33.4% 0.057 198.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1C5D

    #4E1C5D

    oklch(33.4% 0.118 317.5)

  • #5A2400

    #5A2400

    oklch(33.4% 0.091 48)

  • #174100

    #174100

    oklch(33.2% 0.102 137.6)

  • #003C50

    #003C50

    oklch(33.3% 0.065 227.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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