#4E0D4B#4E0D4B

#4E0D4B is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.121 H 330.1°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#4E0D4B
RGBrgb(78, 13, 75)
HSLhsl(303, 71%, 18%)
HSVhsv(303, 83%, 31%)
CMYKcmyk(0%, 83.3%, 3.8%, 69.4%)
CIE-LABlab(17.53, 37.08, -21.85)
CIE-LCHlch(17.53, 43.04, 329.49°)
OKLaboklab(30.51% 0.1051 -0.0604)
OKLCHoklch(30.51% 0.121 330.1)
XYZxyz(4.5558, 2.4159, 6.8816)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D4B #0D4E10
analogous
#300D4E #4E0D4B #4E0D2A
triadic
#4E0D4B #4B4E0D #0D4B4E
tetradic
#4E0D4B #4E300D #0D4E10 #0D2A4E
square
#4E0D4B #4E300D #0D4E10 #0D2A4E
split-complementary
#4E0D4B #2A4E0D #0D4E30
monochromatic
#1A0419 #1A0419 #4E0D4B #82167D #B71EB0

Accessibility & contrast

On white

14.16
#4E0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0D4B
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0D4B#FFFFFF#000000##FFFFFF
##4E0D4B1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05254D
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#51162B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4e0d4b;
/* rgb */ color: rgb(78, 13, 75);
/* oklch */ color: oklch(30.5% 0.121 330.1);
Tailwind
colors: {
  custom: {
    50: '#82547d',
    500: '#4e0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d4b;
$custom-light: #82547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d4b",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 302.769,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30515,
    "c": 0.12118,
    "h": 330.1
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#4E0D4B
secondary
#2E8932
accent
#EE423A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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