#4E1D59#4E1D59

#4E1D59 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.2% C 0.112 H 319.9°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#4E1D59
RGBrgb(78, 29, 89)
HSLhsl(289, 51%, 23%)
HSVhsv(289, 67%, 35%)
CMYKcmyk(12.4%, 67.4%, 0%, 65.1%)
CIE-LABlab(20.90, 32.96, -25.96)
CIE-LCHlch(20.90, 41.96, 321.77°)
OKLaboklab(33.23% 0.0859 -0.0724)
OKLCHoklch(33.23% 0.112 319.9)
XYZxyz(5.3842, 3.2199, 9.7872)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D59 #28591D
analogous
#301D59 #4E1D59 #591D46
triadic
#4E1D59 #594E1D #1D594E
tetradic
#4E1D59 #59301D #28591D #1D4659
square
#4E1D59 #59301D #28591D #1D4659
split-complementary
#4E1D59 #46591D #1D5930
monochromatic
#140817 #260E2B #4E1D59 #762C87 #9F3BB5

Accessibility & contrast

On white

12.77
#4E1D59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1D59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D59
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D59#FFFFFF#000000##FFFFFF
##4E1D591.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2F5B
Deuteranopia (green-blind)
#223457
Tritanopia (blue-blind)
#4E2738
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1d59;
/* rgb */ color: rgb(78, 29, 89);
/* oklch */ color: oklch(33.2% 0.112 319.9);
Tailwind
colors: {
  custom: {
    50: '#825d88',
    500: '#4e1d59',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d59;
$custom-light: #825d88;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d59",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 289,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.11239,
    "h": 319.9
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#4E1D59
secondary
#518E44
accent
#DA4D67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1D59

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

Preview Lab → · Contrast checker → · Palette generator →

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