#4E1A49#4E1A49

#4E1A49 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.101 H 331.6°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#4E1A49
RGBrgb(78, 26, 73)
HSLhsl(306, 50%, 20%)
HSVhsv(306, 67%, 31%)
CMYKcmyk(0%, 66.7%, 6.4%, 69.4%)
CIE-LABlab(19.39, 31.16, -17.55)
CIE-LCHlch(19.39, 35.76, 330.60°)
OKLaboklab(31.82% 0.0889 -0.0481)
OKLCHoklch(31.82% 0.101 331.6)
XYZxyz(4.7139, 2.8399, 6.6019)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A49 #1A4E1F
analogous
#391A4E #4E1A49 #4E1A2F
triadic
#4E1A49 #494E1A #1A494E
tetradic
#4E1A49 #4E391A #1A4E1F #1A2F4E
square
#4E1A49 #4E391A #1A4E1F #1A2F4E
split-complementary
#4E1A49 #2F4E1A #1A4E39
monochromatic
#170815 #200B1E #4E1A49 #7C2974 #AA399F

Accessibility & contrast

On white

13.39
#4E1A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A49
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A49#FFFFFF#000000##FFFFFF
##4E1A491.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A4A
Deuteranopia (green-blind)
#283248
Tritanopia (blue-blind)
#511F2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1a49;
/* rgb */ color: rgb(78, 26, 73);
/* oklch */ color: oklch(31.8% 0.101 331.6);
Tailwind
colors: {
  custom: {
    50: '#815a7c',
    500: '#4e1a49',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a49;
$custom-light: #815a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a49",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 73
  },
  "hsl": {
    "h": 305.769,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31818,
    "c": 0.1011,
    "h": 331.6
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#4E1A49
secondary
#408446
accent
#DA5C4E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1A49

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4E1A49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva