#4E0D47#4E0D47

#4E0D47 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.118 H 333.0°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#4E0D47
RGBrgb(78, 13, 71)
HSLhsl(306, 71%, 18%)
HSVhsv(306, 83%, 31%)
CMYKcmyk(0%, 83.3%, 9%, 69.4%)
CIE-LABlab(17.29, 36.37, -19.48)
CIE-LCHlch(17.29, 41.26, 331.82°)
OKLaboklab(30.26% 0.105 -0.0535)
OKLCHoklch(30.26% 0.118 333)
XYZxyz(4.4232, 2.3629, 6.1831)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D47 #0D4E14
analogous
#350D4E #4E0D47 #4E0D26
triadic
#4E0D47 #474E0D #0D474E
tetradic
#4E0D47 #4E350D #0D4E14 #0D264E
square
#4E0D47 #4E350D #0D4E14 #0D264E
split-complementary
#4E0D47 #264E0D #0D4E35
monochromatic
#1A0418 #1A0418 #4E0D47 #821677 #B71EA6

Accessibility & contrast

On white

14.26
#4E0D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0D47
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0D47#FFFFFF#000000##FFFFFF
##4E0D471.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2549
Deuteranopia (green-blind)
#232E45
Tritanopia (blue-blind)
#521429
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0d47;
/* rgb */ color: rgb(78, 13, 71);
/* oklch */ color: oklch(30.3% 0.118 333.0);
Tailwind
colors: {
  custom: {
    50: '#82547a',
    500: '#4e0d47',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d47;
$custom-light: #82547a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d47",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 71
  },
  "hsl": {
    "h": 306.462,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30258,
    "c": 0.11782,
    "h": 333
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#4E0D47
secondary
#2E8938
accent
#EE4D3A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0D47

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

Preview Lab → · Contrast checker → · Palette generator →

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