#4E1E48#4E1E48

#4E1E48 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.3% C 0.093 H 332.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#4E1E48
RGBrgb(78, 30, 72)
HSLhsl(308, 44%, 21%)
HSVhsv(308, 62%, 31%)
CMYKcmyk(0%, 61.5%, 7.7%, 69.4%)
CIE-LABlab(20.11, 28.86, -15.75)
CIE-LCHlch(20.11, 32.88, 331.38°)
OKLaboklab(32.33% 0.0827 -0.043)
OKLCHoklch(32.33% 0.093 332.5)
XYZxyz(4.7759, 3.0165, 6.4603)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E48 #1E4E24
analogous
#3C1E4E #4E1E48 #4E1E30
triadic
#4E1E48 #484E1E #1E484E
tetradic
#4E1E48 #4E3C1E #1E4E24 #1E304E
square
#4E1E48 #4E3C1E #1E4E24 #1E304E
split-complementary
#4E1E48 #304E1E #1E4E3C
monochromatic
#160914 #220D1F #4E1E48 #7A2F71 #A6409A

Accessibility & contrast

On white

13.10
#4E1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E48
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E48#FFFFFF#000000##FFFFFF
##4E1E481.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2C49
Deuteranopia (green-blind)
#2B3347
Tritanopia (blue-blind)
#512230
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1e48;
/* rgb */ color: rgb(78, 30, 72);
/* oklch */ color: oklch(32.3% 0.093 332.5);
Tailwind
colors: {
  custom: {
    50: '#815d7b',
    500: '#4e1e48',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e48;
$custom-light: #815d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e48",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 307.5,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32327,
    "c": 0.09319,
    "h": 332.5
  },
  "luminance": 0.03016
}

Semantic roles & 50–950 ramp

primary
#4E1E48
secondary
#45834D
accent
#D46454
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0A0409
muted
#7C797B

Preview Lab

Preview with #4E1E48

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

Preview Lab → · Contrast checker → · Palette generator →

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