#4E217C

Closest named color: Indigo (#4B0082). oklch(36.4% 0.146 302.2), rgb(78, 33, 124).

Aa

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

About this color

#4E217C is a dark, vivid purple. In OKLCH its lightness is 36%, its chroma 0.146 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.042 away. White text reads best on it, at 11.45:1.

Hue familyPurples
Lightnessdark (36%)
Chromavivid (0.146)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.83:1
White text11.45:1

Values

HEX#4E217C
RGBrgb(78, 33, 124)
HSLhsl(270, 58%, 31%)
OKLCHoklch(36.4% 0.146 302.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 #4E217C 11.45:1 AAA Lc -99.5 Preferred for body text
Black text on #4E217C 1.83:1 Fails Lc 8.2 Not readable
#4E217C text on white 11.45:1 AAA Lc 95.7 Preferred for body text
#4E217C text on black 1.83: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E0D0FB

    oklch(88.4% 0.061 302.1)

  4. Step 300

    300

    #CEB0FC

    oklch(81% 0.109 302.1)

  5. Step 400

    400

    #B682FA

    oklch(70.8% 0.175 302.1)

  6. Step 500

    500

    #A55BF7

    oklch(63.1% 0.224 302.2)

  7. Step 600

    600

    #9138E6

    oklch(55.6% 0.244 302.1)

  8. Step 700

    700

    #7C27C7

    oklch(49.1% 0.226 302.4)

  9. Step 800

    800

    #6424A1

    oklch(42.6% 0.187 302.1)

  10. Step 900

    900 (this color)

    #4E217C

    oklch(36.4% 0.146 302.2)

  11. Step 950

    950

    #30174B

    oklch(27% 0.093 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#4E217C 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)#00397F0.106
Deuteranopia (no green cones)#00397A0.107
Tritanopia (no blue cones)#44374C0.108
Achromatopsia (no color)#3A3A3A0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E217C

    #4E217C

    oklch(36.4% 0.146 302.2)

  • #364500

    #364500

    oklch(36.4% 0.089 122.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E217C

    #4E217C

    oklch(36.4% 0.146 302.2)

  • #273189

    #273189

    oklch(36.5% 0.145 272)

  • #66125F

    #66125F

    oklch(36.4% 0.145 331.9)

Open the analogous palette in the generator

Split complementary

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

  • #4E217C

    #4E217C

    oklch(36.4% 0.146 302.2)

  • #4C3C00

    #4C3C00

    oklch(36.3% 0.074 91.9)

  • #004C23

    #004C23

    oklch(36.5% 0.096 151.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E217C

    #4E217C

    oklch(36.4% 0.146 302.2)

  • #5D3200

    #5D3200

    oklch(36.4% 0.084 61.6)

  • #004941

    #004941

    oklch(36.4% 0.065 182.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E217C

    #4E217C

    oklch(36.4% 0.146 302.2)

  • #761000

    #761000

    oklch(36.4% 0.138 32.1)

  • #364500

    #364500

    oklch(36.4% 0.089 122.5)

  • #004752

    #004752

    oklch(36.5% 0.064 212.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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