#4E2558

Closest named color: Grape Purple (#5D1451). oklch(34.4% 0.097 319.5), rgb(78, 37, 88).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.72:1
White text12.14:1

Values

HEX#4E2558
RGBrgb(78, 37, 88)
HSLhsl(288, 41%, 25%)
OKLCHoklch(34.4% 0.097 319.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 #4E2558 12.14:1 AAA Lc -100.9 Preferred for body text
Black text on #4E2558 1.72:1 Fails Lc 0.0 Not readable
#4E2558 text on white 12.14:1 AAA Lc 97.4 Preferred for body text
#4E2558 text on black 1.72: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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E5D1EA

    oklch(88.5% 0.04 319.5)

  4. Step 300

    300

    #D6B2DF

    oklch(80.9% 0.073 319.5)

  5. Step 400

    400

    #C088CE

    oklch(70.6% 0.117 319.4)

  6. Step 500

    500

    #B068C2

    oklch(63.1% 0.151 319.4)

  7. Step 600

    600

    #9B4EAE

    oklch(55.7% 0.162 319.4)

  8. Step 700

    700

    #843E95

    oklch(49.1% 0.15 319.4)

  9. Step 800

    800

    #6C3479

    oklch(42.8% 0.125 319.8)

  10. Step 900

    900 (this color)

    #4E2558

    oklch(34.4% 0.097 319.5)

  11. Step 950

    950

    #331B39

    oklch(26.9% 0.062 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#4E2558 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)#1B335A0.091
Deuteranopia (no green cones)#2837570.080
Tritanopia (no blue cones)#4E2C3A0.061
Achromatopsia (no color)#3636360.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E2558

    #4E2558

    oklch(34.4% 0.097 319.5)

  • #19440B

    #19440B

    oklch(34.3% 0.097 139.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E2558

    #4E2558

    oklch(34.4% 0.097 319.5)

  • #392D67

    #392D67

    oklch(34.3% 0.098 289.8)

  • #5C1F40

    #5C1F40

    oklch(34.4% 0.098 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #4E2558

    #4E2558

    oklch(34.4% 0.097 319.5)

  • #3C3C00

    #3C3C00

    oklch(34.5% 0.075 109.8)

  • #004433

    #004433

    oklch(34.4% 0.068 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E2558

    #4E2558

    oklch(34.4% 0.097 319.5)

  • #4C3400

    #4C3400

    oklch(34.4% 0.071 80.2)

  • #004244

    #004244

    oklch(34.4% 0.059 198.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E2558

    #4E2558

    oklch(34.4% 0.097 319.5)

  • #5D2700

    #5D2700

    oklch(34.4% 0.092 49.5)

  • #19440B

    #19440B

    oklch(34.3% 0.097 139.3)

  • #003F55

    #003F55

    oklch(34.4% 0.068 229.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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