#4E0D4A#4E0D4A

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

Color values

HEX#4E0D4A
RGBrgb(78, 13, 74)
HSLhsl(304, 71%, 18%)
HSVhsv(304, 83%, 31%)
CMYKcmyk(0%, 83.3%, 5.1%, 69.4%)
CIE-LABlab(17.47, 36.90, -21.26)
CIE-LCHlch(17.47, 42.59, 330.05°)
OKLaboklab(30.45% 0.1051 -0.0586)
OKLCHoklch(30.45% 0.12 330.8)
XYZxyz(4.5218, 2.4023, 6.7028)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D4A #0D4E11
analogous
#310D4E #4E0D4A #4E0D29
triadic
#4E0D4A #4A4E0D #0D4A4E
tetradic
#4E0D4A #4E310D #0D4E11 #0D294E
square
#4E0D4A #4E310D #0D4E11 #0D294E
split-complementary
#4E0D4A #294E0D #0D4E31
monochromatic
#1A0419 #1A0419 #4E0D4A #82167C #B71EAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E0D4A#FFFFFF#000000##FFFFFF
##4E0D4A1.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)
#06254C
Deuteranopia (green-blind)
#222E48
Tritanopia (blue-blind)
#51162B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e0d4a;
/* rgb */ color: rgb(78, 13, 74);
/* oklch */ color: oklch(30.4% 0.120 330.8);
Tailwind
colors: {
  custom: {
    50: '#82547d',
    500: '#4e0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d4a;
$custom-light: #82547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d4a",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 303.692,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3045,
    "c": 0.12033,
    "h": 330.8
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#4E0D4A
secondary
#2E8933
accent
#EE453A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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