#4E1E49#4E1E49

#4E1E49 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.094 H 331.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4E1E49
RGBrgb(78, 30, 73)
HSLhsl(306, 44%, 21%)
HSVhsv(306, 62%, 31%)
CMYKcmyk(0%, 61.5%, 6.4%, 69.4%)
CIE-LABlab(20.16, 29.06, -16.35)
CIE-LCHlch(20.16, 33.34, 330.64°)
OKLaboklab(32.38% 0.0829 -0.0447)
OKLCHoklch(32.38% 0.094 331.7)
XYZxyz(4.8087, 3.0296, 6.6335)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E49 #1E4E23
analogous
#3B1E4E #4E1E49 #4E1E31
triadic
#4E1E49 #494E1E #1E494E
tetradic
#4E1E49 #4E3B1E #1E4E23 #1E314E
square
#4E1E49 #4E3B1E #1E4E23 #1E314E
split-complementary
#4E1E49 #314E1E #1E4E3B
monochromatic
#160915 #220D20 #4E1E49 #7A2F72 #A6409C

Accessibility & contrast

On white

13.08
#4E1E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1E49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E49
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E49#FFFFFF#000000##FFFFFF
##4E1E491.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2C4A
Deuteranopia (green-blind)
#2B3348
Tritanopia (blue-blind)
#512230
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1e49;
/* rgb */ color: rgb(78, 30, 73);
/* oklch */ color: oklch(32.4% 0.094 331.7);
Tailwind
colors: {
  custom: {
    50: '#815d7c',
    500: '#4e1e49',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e49;
$custom-light: #815d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e49",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 73
  },
  "hsl": {
    "h": 306.25,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32383,
    "c": 0.09415,
    "h": 331.7
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#4E1E49
secondary
#45834B
accent
#D46154
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1E49

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

Preview Lab → · Contrast checker → · Palette generator →

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