#4E1E4B#4E1E4B

#4E1E4B is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.5% C 0.096 H 330.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#4E1E4B
RGBrgb(78, 30, 75)
HSLhsl(304, 44%, 21%)
HSVhsv(304, 62%, 31%)
CMYKcmyk(0%, 61.5%, 3.8%, 69.4%)
CIE-LABlab(20.27, 29.45, -17.54)
CIE-LCHlch(20.27, 34.28, 329.22°)
OKLaboklab(32.5% 0.0832 -0.0481)
OKLCHoklch(32.5% 0.096 330)
XYZxyz(4.8761, 3.0566, 6.9884)
Luminance0.0306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E4B #1E4E21
analogous
#391E4E #4E1E4B #4E1E33
triadic
#4E1E4B #4B4E1E #1E4B4E
tetradic
#4E1E4B #4E391E #1E4E21 #1E334E
square
#4E1E4B #4E391E #1E4E21 #1E334E
split-complementary
#4E1E4B #334E1E #1E4E39
monochromatic
#160915 #220D20 #4E1E4B #7A2F75 #A640A0

Accessibility & contrast

On white

13.03
#4E1E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E4B
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E4B#FFFFFF#000000##FFFFFF
##4E1E4B1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4C
Deuteranopia (green-blind)
#2A334A
Tritanopia (blue-blind)
#512331
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1e4b;
/* rgb */ color: rgb(78, 30, 75);
/* oklch */ color: oklch(32.5% 0.096 330.0);
Tailwind
colors: {
  custom: {
    50: '#815d7d',
    500: '#4e1e4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e4b;
$custom-light: #815d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e4b",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 303.75,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.09612,
    "h": 330
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#4E1E4B
secondary
#458349
accent
#D45C54
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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