#4E2178

Closest named color: Indigo (#4B0082). oklch(36.1% 0.141 303.7), rgb(78, 33, 120).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromavivid (0.141)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.81:1
White text11.58:1

Values

HEX#4E2178
RGBrgb(78, 33, 120)
HSLhsl(271, 57%, 30%)
OKLCHoklch(36.1% 0.141 303.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 #4E2178 11.58:1 AAA Lc -99.8 Preferred for body text
Black text on #4E2178 1.81:1 Fails Lc 7.9 Not readable
#4E2178 text on white 11.58:1 AAA Lc 96.0 Preferred for body text
#4E2178 text on black 1.81: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

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0FA

    oklch(88.5% 0.06 303.6)

  4. Step 300

    300

    #CFB0F9

    oklch(81% 0.106 303.6)

  5. Step 400

    400

    #B782F6

    oklch(70.6% 0.17 303.4)

  6. Step 500

    500

    #A75CF1

    oklch(63.1% 0.217 304)

  7. Step 600

    600

    #933AE0

    oklch(55.6% 0.236 303.9)

  8. Step 700

    700

    #7D2AC3

    oklch(49.1% 0.22 303.6)

  9. Step 800

    800

    #65269D

    oklch(42.6% 0.181 303.5)

  10. Step 900

    900 (this color)

    #4E2178

    oklch(36.1% 0.141 303.7)

  11. Step 950

    950

    #301849

    oklch(27% 0.089 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#4E2178 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)#00387B0.107
Deuteranopia (no green cones)#0039760.108
Tritanopia (no blue cones)#46354A0.102
Achromatopsia (no color)#3939390.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E2178

    #4E2178

    oklch(36.1% 0.141 303.7)

  • #344400

    #344400

    oklch(35.9% 0.089 123.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E2178

    #4E2178

    oklch(36.1% 0.141 303.7)

  • #2A3086

    #2A3086

    oklch(36.2% 0.142 273.8)

  • #65135B

    #65135B

    oklch(36% 0.141 333.7)

Open the analogous palette in the generator

Split complementary

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

  • #4E2178

    #4E2178

    oklch(36.1% 0.141 303.7)

  • #4A3C00

    #4A3C00

    oklch(36.1% 0.074 94.1)

  • #004B25

    #004B25

    oklch(36.2% 0.093 153.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E2178

    #4E2178

    oklch(36.1% 0.141 303.7)

  • #5A3200

    #5A3200

    oklch(36% 0.081 63.8)

  • #004841

    #004841

    oklch(36.1% 0.064 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E2178

    #4E2178

    oklch(36.1% 0.141 303.7)

  • #721500

    #721500

    oklch(36% 0.13 33.8)

  • #344400

    #344400

    oklch(35.9% 0.089 123.4)

  • #004651

    #004651

    oklch(36.2% 0.063 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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