#4E1D50#4E1D50

#4E1D50 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.6% C 0.103 H 326.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#4E1D50
RGBrgb(78, 29, 80)
HSLhsl(298, 47%, 21%)
HSVhsv(298, 64%, 31%)
CMYKcmyk(2.5%, 63.7%, 0%, 68.6%)
CIE-LABlab(20.35, 31.02, -20.80)
CIE-LCHlch(20.35, 37.34, 326.15°)
OKLaboklab(32.65% 0.0854 -0.0575)
OKLCHoklch(32.65% 0.103 326.1)
XYZxyz(5.0291, 3.0779, 7.9171)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D50 #1F501D
analogous
#351D50 #4E1D50 #501D39
triadic
#4E1D50 #504E1D #1D504E
tetradic
#4E1D50 #50351D #1F501D #1D3950
square
#4E1D50 #50351D #1F501D #1D3950
split-complementary
#4E1D50 #39501D #1D5035
monochromatic
#160816 #220D23 #4E1D50 #7A2D7D #A63EAA

Accessibility & contrast

On white

13.00
#4E1D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D50
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D50#FFFFFF#000000##FFFFFF
##4E1D501.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162D52
Deuteranopia (green-blind)
#27334F
Tritanopia (blue-blind)
#502433
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1d50;
/* rgb */ color: rgb(78, 29, 80);
/* oklch */ color: oklch(32.6% 0.103 326.1);
Tailwind
colors: {
  custom: {
    50: '#815c81',
    500: '#4e1d50',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d50;
$custom-light: #815c81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d50",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 80
  },
  "hsl": {
    "h": 297.647,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3265,
    "c": 0.10292,
    "h": 326.1
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#4E1D50
secondary
#468544
accent
#D65157
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1D50

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

Preview Lab → · Contrast checker → · Palette generator →

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