#4E254B

Closest named color: Grape Purple (#5D1451). oklch(33.6% 0.083 330), rgb(78, 37, 75).

Aa

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

About this color

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

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

Values

HEX#4E254B
RGBrgb(78, 37, 75)
HSLhsl(304, 36%, 23%)
OKLCHoklch(33.6% 0.083 330)

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 #4E254B 12.42:1 AAA Lc -101.4 Preferred for body text
Black text on #4E254B 1.69:1 Fails Lc 0.0 Not readable
#4E254B text on white 12.42:1 AAA Lc 98.0 Preferred for body text
#4E254B text on black 1.69: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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E7D1E4

    oklch(88.4% 0.035 330.3)

  4. Step 300

    300

    #D8B3D4

    oklch(80.9% 0.061 329.7)

  5. Step 400

    400

    #C48ABE

    oklch(70.7% 0.099 330.2)

  6. Step 500

    500

    #B46BAE

    oklch(63.1% 0.128 330)

  7. Step 600

    600

    #9F5199

    oklch(55.5% 0.139 330.2)

  8. Step 700

    700

    #884283

    oklch(49.2% 0.128 330)

  9. Step 800

    800

    #6E366A

    oklch(42.5% 0.107 330)

  10. Step 900

    900 (this color)

    #4E254B

    oklch(33.6% 0.083 330)

  11. Step 950

    950

    #351C33

    oklch(27% 0.054 329.9)

Export this scale for Tailwind in the Tailwind colors tool

#4E254B 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)#23314C0.082
Deuteranopia (no green cones)#2E364A0.074
Tritanopia (no blue cones)#5128340.045
Achromatopsia (no color)#3434340.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E254B

    #4E254B

    oklch(33.6% 0.083 330)

  • #0C421E

    #0C421E

    oklch(33.5% 0.083 150)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E254B

    #4E254B

    oklch(33.6% 0.083 330)

  • #3E2B5B

    #3E2B5B

    oklch(33.6% 0.084 300.2)

  • #582235

    #582235

    oklch(33.7% 0.083 0.5)

Open the analogous palette in the generator

Split complementary

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

  • #4E254B

    #4E254B

    oklch(33.6% 0.083 330)

  • #323C00

    #323C00

    oklch(33.5% 0.079 119.6)

  • #004138

    #004138

    oklch(33.6% 0.061 179.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E254B

    #4E254B

    oklch(33.6% 0.083 330)

  • #453500

    #453500

    oklch(33.7% 0.069 90)

  • #003F47

    #003F47

    oklch(33.7% 0.058 208.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E254B

    #4E254B

    oklch(33.6% 0.083 330)

  • #542B00

    #542B00

    oklch(33.6% 0.079 59.4)

  • #0C421E

    #0C421E

    oklch(33.5% 0.083 150)

  • #003B5A

    #003B5A

    oklch(33.6% 0.077 239.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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