#4E0B48#4E0B48

#4E0B48 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.121 H 332.2°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#4E0B48
RGBrgb(78, 11, 72)
HSLhsl(305, 75%, 17%)
HSVhsv(305, 86%, 31%)
CMYKcmyk(0%, 85.9%, 7.7%, 69.4%)
CIE-LABlab(17.12, 37.20, -20.44)
CIE-LCHlch(17.12, 42.45, 331.22°)
OKLaboklab(30.16% 0.1069 -0.0563)
OKLCHoklch(30.16% 0.121 332.2)
XYZxyz(4.4313, 2.3273, 6.3455)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0B48 #0B4E11
analogous
#320B4E #4E0B48 #4E0B27
triadic
#4E0B48 #484E0B #0B484E
tetradic
#4E0B48 #4E320B #0B4E11 #0B274E
square
#4E0B48 #4E320B #0B4E11 #0B274E
split-complementary
#4E0B48 #274E0B #0B4E32
monochromatic
#1B0419 #1B0419 #4E0B48 #84137A #B91AAB

Accessibility & contrast

On white

14.33
#4E0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4E0B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0B48
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0B48#FFFFFF#000000##FFFFFF
##4E0B481.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06244A
Deuteranopia (green-blind)
#222D46
Tritanopia (blue-blind)
#521329
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0b48;
/* rgb */ color: rgb(78, 11, 72);
/* oklch */ color: oklch(30.2% 0.121 332.2);
Tailwind
colors: {
  custom: {
    50: '#82547b',
    500: '#4e0b48',
    950: '#000000',
  },
}
SCSS
$custom: #4e0b48;
$custom-light: #82547b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0b48",
  "rgb": {
    "r": 78,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 305.373,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30158,
    "c": 0.12083,
    "h": 332.2
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#4E0B48
secondary
#2B8A33
accent
#F24736
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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