#4E0E48#4E0E48

#4E0E48 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.117 H 332.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4E0E48
RGBrgb(78, 14, 72)
HSLhsl(306, 70%, 18%)
HSVhsv(306, 82%, 31%)
CMYKcmyk(0%, 82.1%, 7.7%, 69.4%)
CIE-LABlab(17.47, 36.20, -19.89)
CIE-LCHlch(17.47, 41.30, 331.22°)
OKLaboklab(30.41% 0.104 -0.0547)
OKLCHoklch(30.41% 0.118 332.3)
XYZxyz(4.4686, 2.4020, 6.3579)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0E48 #0E4E14
analogous
#340E4E #4E0E48 #4E0E28
triadic
#4E0E48 #484E0E #0E484E
tetradic
#4E0E48 #4E340E #0E4E14 #0E284E
square
#4E0E48 #4E340E #0E4E14 #0E284E
split-complementary
#4E0E48 #284E0E #0E4E34
monochromatic
#1A0518 #1A0518 #4E0E48 #821778 #B621A8

Accessibility & contrast

On white

14.19
#4E0E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4E0E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0E48
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0E48#FFFFFF#000000##FFFFFF
##4E0E481.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A254A
Deuteranopia (green-blind)
#232E46
Tritanopia (blue-blind)
#52152A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e0e48;
/* rgb */ color: rgb(78, 14, 72);
/* oklch */ color: oklch(30.4% 0.117 332.3);
Tailwind
colors: {
  custom: {
    50: '#82557b',
    500: '#4e0e48',
    950: '#000000',
  },
}
SCSS
$custom: #4e0e48;
$custom-light: #82557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0e48",
  "rgb": {
    "r": 78,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 305.625,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30409,
    "c": 0.1175,
    "h": 332.3
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#4E0E48
secondary
#2F8938
accent
#EC4C3B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0E48

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

Preview Lab → · Contrast checker → · Palette generator →

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