#4E0D45#4E0D45

#4E0D45 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.116 H 334.5°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#4E0D45
RGBrgb(78, 13, 69)
HSLhsl(308, 71%, 18%)
HSVhsv(308, 83%, 31%)
CMYKcmyk(0%, 83.3%, 11.5%, 69.4%)
CIE-LABlab(17.17, 36.02, -18.28)
CIE-LCHlch(17.17, 40.40, 333.09°)
OKLaboklab(30.13% 0.1049 -0.0501)
OKLCHoklch(30.13% 0.116 334.5)
XYZxyz(4.3600, 2.3376, 5.8506)
Luminance0.0234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D45 #0D4E16
analogous
#360D4E #4E0D45 #4E0D24
triadic
#4E0D45 #454E0D #0D454E
tetradic
#4E0D45 #4E360D #0D4E16 #0D244E
square
#4E0D45 #4E360D #0D4E16 #0D244E
split-complementary
#4E0D45 #244E0D #0D4E36
monochromatic
#1A0417 #1A0417 #4E0D45 #821673 #B71EA2

Accessibility & contrast

On white

14.31
#4E0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0D45
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0D45#FFFFFF#000000##FFFFFF
##4E0D451.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2446
Deuteranopia (green-blind)
#242E43
Tritanopia (blue-blind)
#521328
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0d45;
/* rgb */ color: rgb(78, 13, 69);
/* oklch */ color: oklch(30.1% 0.116 334.5);
Tailwind
colors: {
  custom: {
    50: '#825479',
    500: '#4e0d45',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d45;
$custom-light: #825479;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d45",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 308.308,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30134,
    "c": 0.11619,
    "h": 334.5
  },
  "luminance": 0.02337
}

Semantic roles & 50–950 ramp

primary
#4E0D45
secondary
#2E893A
accent
#EE533A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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