#4E1252

Closest named color: Plum Purple (#4E0550). oklch(31.4% 0.121 325.3), rgb(78, 18, 82).

Aa

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

About this color

#4E1252 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.121 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.017 away. White text reads best on it, at 13.70:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.53:1
White text13.70:1

Values

HEX#4E1252
RGBrgb(78, 18, 82)
HSLhsl(296, 64%, 20%)
OKLCHoklch(31.4% 0.121 325.3)

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 #4E1252 13.70:1 AAA Lc -102.7 Preferred for body text
Black text on #4E1252 1.53:1 Fails Lc 0.0 Not readable
#4E1252 text on white 13.70:1 AAA Lc 99.5 Preferred for body text
#4E1252 text on black 1.53: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

    #FDF1FD

    oklch(97.1% 0.02 325.7)

  2. Step 100

    100

    #F9E1F9

    oklch(93.6% 0.041 325.9)

  3. Step 200

    200

    #F5C8F6

    oklch(88.6% 0.079 325.5)

  4. Step 300

    300

    #EF9FF3

    oklch(80.9% 0.143 325.1)

  5. Step 400

    400

    #E460ED

    oklch(70.6% 0.231 325.1)

  6. Step 500

    500

    #DA02E7

    oklch(63.2% 0.294 325.2)

  7. Step 600

    600

    #B800C3

    oklch(55.6% 0.26 325.3)

  8. Step 700

    700

    #9B00A5

    oklch(49% 0.229 325.1)

  9. Step 800

    800

    #800088

    oklch(42.6% 0.199 325.2)

  10. Step 900

    900

    #6C0073

    oklch(37.8% 0.176 325.2)

  11. Step 950

    950 (this color)

    #4E1252

    oklch(31.4% 0.121 325.3)

Export this scale for Tailwind in the Tailwind colors tool

#4E1252 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)#0229540.128
Deuteranopia (no green cones)#1F30500.109
Tritanopia (no blue cones)#501D310.070
Achromatopsia (no color)#2D2D2D0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1252

    #4E1252

    oklch(31.4% 0.121 325.3)

  • #003D0B

    #003D0B

    oklch(31.3% 0.098 145.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1252

    #4E1252

    oklch(31.4% 0.121 325.3)

  • #381E67

    #381E67

    oklch(31.5% 0.121 294.8)

  • #5C0734

    #5C0734

    oklch(31.5% 0.121 355.6)

Open the analogous palette in the generator

Split complementary

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

  • #4E1252

    #4E1252

    oklch(31.4% 0.121 325.3)

  • #303500

    #303500

    oklch(31.3% 0.071 115.4)

  • #003B30

    #003B30

    oklch(31.5% 0.059 175.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1252

    #4E1252

    oklch(31.4% 0.121 325.3)

  • #402E00

    #402E00

    oklch(31.4% 0.064 85)

  • #00393E

    #00393E

    oklch(31.4% 0.054 204.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1252

    #4E1252

    oklch(31.4% 0.121 325.3)

  • #4E2500

    #4E2500

    oklch(31.5% 0.077 56.1)

  • #003D0B

    #003D0B

    oklch(31.3% 0.098 145.2)

  • #00364E

    #00364E

    oklch(31.4% 0.067 234.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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