#4E1D49#4E1D49

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

Color values

HEX#4E1D49
RGBrgb(78, 29, 73)
HSLhsl(306, 46%, 21%)
HSVhsv(306, 63%, 31%)
CMYKcmyk(0%, 62.8%, 6.4%, 69.4%)
CIE-LABlab(19.96, 29.59, -16.66)
CIE-LCHlch(19.96, 33.96, 330.62°)
OKLaboklab(32.24% 0.0844 -0.0455)
OKLCHoklch(32.24% 0.096 331.7)
XYZxyz(4.7838, 2.9798, 6.6252)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D49 #1D4E22
analogous
#3A1D4E #4E1D49 #4E1D30
triadic
#4E1D49 #494E1D #1D494E
tetradic
#4E1D49 #4E3A1D #1D4E22 #1D304E
square
#4E1D49 #4E3A1D #1D4E22 #1D304E
split-complementary
#4E1D49 #304E1D #1D4E3A
monochromatic
#160815 #210C1F #4E1D49 #7B2E73 #A73E9D

Accessibility & contrast

On white

13.16
#4E1D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D49
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D49#FFFFFF#000000##FFFFFF
##4E1D491.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2C4A
Deuteranopia (green-blind)
#2A3348
Tritanopia (blue-blind)
#512130
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1d49;
/* rgb */ color: rgb(78, 29, 73);
/* oklch */ color: oklch(32.2% 0.096 331.7);
Tailwind
colors: {
  custom: {
    50: '#815c7c',
    500: '#4e1d49',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d49;
$custom-light: #815c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d49",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 306.122,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32237,
    "c": 0.09594,
    "h": 331.7
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#4E1D49
secondary
#44834A
accent
#D56052
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1D49

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

Preview Lab → · Contrast checker → · Palette generator →

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