#4E1E4F#4E1E4F

#4E1E4F is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.7% C 0.100 H 326.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#4E1E4F
RGBrgb(78, 30, 79)
HSLhsl(299, 45%, 21%)
HSVhsv(299, 62%, 31%)
CMYKcmyk(1.3%, 62%, 0%, 69%)
CIE-LABlab(20.49, 30.27, -19.91)
CIE-LCHlch(20.49, 36.23, 326.67°)
OKLaboklab(32.73% 0.0838 -0.0549)
OKLCHoklch(32.73% 0.1 326.8)
XYZxyz(5.0174, 3.1131, 7.7322)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E4F #1F4F1E
analogous
#361E4F #4E1E4F #4F1E38
triadic
#4E1E4F #4F4E1E #1E4F4E
tetradic
#4E1E4F #4F361E #1F4F1E #1E384F
square
#4E1E4F #4F361E #1F4F1E #1E384F
split-complementary
#4E1E4F #384F1E #1E4F36
monochromatic
#160816 #220D23 #4E1E4F #7A2F7B #A640A8

Accessibility & contrast

On white

12.94
#4E1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E4F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E4F#FFFFFF#000000##FFFFFF
##4E1E4F1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D51
Deuteranopia (green-blind)
#28344E
Tritanopia (blue-blind)
#502433
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1e4f;
/* rgb */ color: rgb(78, 30, 79);
/* oklch */ color: oklch(32.7% 0.100 326.8);
Tailwind
colors: {
  custom: {
    50: '#815d80',
    500: '#4e1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e4f;
$custom-light: #815d80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e4f",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 298.776,
    "s": 44.954,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32732,
    "c": 0.10017,
    "h": 326.8
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#4E1E4F
secondary
#468445
accent
#D55356
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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