#4E1E4E#4E1E4E

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

Color values

HEX#4E1E4E
RGBrgb(78, 30, 78)
HSLhsl(300, 44%, 21%)
HSVhsv(300, 62%, 31%)
CMYKcmyk(0%, 61.5%, 0%, 69.4%)
CIE-LABlab(20.43, 30.07, -19.32)
CIE-LCHlch(20.43, 35.74, 327.28°)
OKLaboklab(32.67% 0.0837 -0.0532)
OKLCHoklch(32.67% 0.099 327.6)
XYZxyz(4.9812, 3.0986, 7.5420)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E4E #1E4E1E
analogous
#361E4E #4E1E4E #4E1E36
triadic
#4E1E4E #4E4E1E #1E4E4E
tetradic
#4E1E4E #4E361E #1E4E1E #1E364E
square
#4E1E4E #4E361E #1E4E1E #1E364E
split-complementary
#4E1E4E #364E1E #1E4E36
monochromatic
#160916 #220D22 #4E1E4E #7A2F7A #A640A6

Accessibility & contrast

On white

12.97
#4E1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E4E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E4E#FFFFFF#000000##FFFFFF
##4E1E4E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D50
Deuteranopia (green-blind)
#29334D
Tritanopia (blue-blind)
#502432
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1e4e;
/* rgb */ color: rgb(78, 30, 78);
/* oklch */ color: oklch(32.7% 0.099 327.6);
Tailwind
colors: {
  custom: {
    50: '#815d80',
    500: '#4e1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e4e;
$custom-light: #815d80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e4e",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32672,
    "c": 0.09914,
    "h": 327.6
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

primary
#4E1E4E
secondary
#458345
accent
#D45454
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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