#4E1D4F#4E1D4F

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

Color values

HEX#4E1D4F
RGBrgb(78, 29, 79)
HSLhsl(299, 46%, 21%)
HSVhsv(299, 63%, 31%)
CMYKcmyk(1.3%, 63.3%, 0%, 69%)
CIE-LABlab(20.30, 30.81, -20.21)
CIE-LCHlch(20.30, 36.85, 326.73°)
OKLaboklab(32.59% 0.0853 -0.0558)
OKLCHoklch(32.59% 0.102 326.8)
XYZxyz(4.9924, 3.0632, 7.7239)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D4F #1E4F1D
analogous
#351D4F #4E1D4F #4F1D37
triadic
#4E1D4F #4F4E1D #1D4F4E
tetradic
#4E1D4F #4F351D #1E4F1D #1D374F
square
#4E1D4F #4F351D #1E4F1D #1D374F
split-complementary
#4E1D4F #374F1D #1D4F35
monochromatic
#160816 #220D22 #4E1D4F #7A2D7C #A63EA9

Accessibility & contrast

On white

13.02
#4E1D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D4F
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D4F#FFFFFF#000000##FFFFFF
##4E1D4F1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172D51
Deuteranopia (green-blind)
#27334E
Tritanopia (blue-blind)
#502333
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1d4f;
/* rgb */ color: rgb(78, 29, 79);
/* oklch */ color: oklch(32.6% 0.102 326.8);
Tailwind
colors: {
  custom: {
    50: '#815c80',
    500: '#4e1d4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d4f;
$custom-light: #815c80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d4f",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 298.8,
    "s": 46.296,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32588,
    "c": 0.1019,
    "h": 326.8
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#4E1D4F
secondary
#458444
accent
#D65254
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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