#4E1542

Closest named color: Deep Violet (#490648). oklch(30.8% 0.103 337.2), rgb(78, 21, 66).

Aa

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

About this color

#4E1542 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.103 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.032 away. White text reads best on it, at 13.90:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameDeep Violet (#490648)
Black text1.50:1
White text13.90:1

Values

HEX#4E1542
RGBrgb(78, 21, 66)
HSLhsl(313, 58%, 19%)
OKLCHoklch(30.8% 0.103 337.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 #4E1542 13.90:1 AAA Lc -103.1 Preferred for body text
Black text on #4E1542 1.50:1 Fails Lc 0.0 Not readable
#4E1542 text on white 13.90:1 AAA Lc 99.9 Preferred for body text
#4E1542 text on black 1.50: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

    #FDF1F9

    oklch(97% 0.017 337.6)

  2. Step 100

    100

    #FAE1F2

    oklch(93.5% 0.035 337.4)

  3. Step 200

    200

    #F7C9E9

    oklch(88.5% 0.066 337.4)

  4. Step 300

    300

    #F3A2DD

    oklch(81% 0.121 337.2)

  5. Step 400

    400

    #E968CC

    oklch(70.6% 0.196 337)

  6. Step 500

    500

    #DF2FBE

    oklch(63.2% 0.249 337.3)

  7. Step 600

    600

    #C300A5

    oklch(55.6% 0.245 337.2)

  8. Step 700

    700

    #A5008B

    oklch(49.1% 0.216 337.3)

  9. Step 800

    800

    #880073

    oklch(42.7% 0.188 337)

  10. Step 900

    900

    #72045F

    oklch(37.7% 0.162 337.6)

  11. Step 950

    950 (this color)

    #4E1542

    oklch(30.8% 0.103 337.2)

Export this scale for Tailwind in the Tailwind colors tool

#4E1542 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)#1727430.110
Deuteranopia (no green cones)#292F410.095
Tritanopia (no blue cones)#5218290.049
Achromatopsia (no color)#2C2C2C0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E1542

    #4E1542

    oklch(30.8% 0.103 337.2)

  • #003A20

    #003A20

    oklch(30.7% 0.073 157.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E1542

    #4E1542

    oklch(30.8% 0.103 337.2)

  • #3E1D57

    #3E1D57

    oklch(30.8% 0.103 307.6)

  • #571026

    #571026

    oklch(30.7% 0.103 7.5)

Open the analogous palette in the generator

Split complementary

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

  • #4E1542

    #4E1542

    oklch(30.8% 0.103 337.2)

  • #253700

    #253700

    oklch(30.9% 0.08 127.1)

  • #003834

    #003834

    oklch(30.7% 0.054 187.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E1542

    #4E1542

    oklch(30.8% 0.103 337.2)

  • #392F00

    #392F00

    oklch(30.7% 0.063 96.2)

  • #003642

    #003642

    oklch(30.7% 0.055 217.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E1542

    #4E1542

    oklch(30.8% 0.103 337.2)

  • #462800

    #462800

    oklch(30.8% 0.068 67.6)

  • #003A20

    #003A20

    oklch(30.7% 0.073 157.1)

  • #003256

    #003256

    oklch(30.8% 0.081 246.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #4E1542.

Similar named colors

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

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