#4E0A47#4E0A47

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

Color values

HEX#4E0A47
RGBrgb(78, 10, 71)
HSLhsl(306, 77%, 17%)
HSVhsv(306, 87%, 31%)
CMYKcmyk(0%, 87.2%, 9%, 69.4%)
CIE-LABlab(16.95, 37.34, -20.01)
CIE-LCHlch(16.95, 42.36, 331.81°)
OKLaboklab(30.02% 0.1078 -0.055)
OKLCHoklch(30.02% 0.121 333)
XYZxyz(4.3878, 2.2921, 6.1713)
Luminance0.0229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0A47 #0A4E11
analogous
#330A4E #4E0A47 #4E0A25
triadic
#4E0A47 #474E0A #0A474E
tetradic
#4E0A47 #4E330A #0A4E11 #0A254E
square
#4E0A47 #4E330A #0A4E11 #0A254E
split-complementary
#4E0A47 #254E0A #0A4E33
monochromatic
#1B0319 #1B0319 #4E0A47 #841178 #BA18AA

Accessibility & contrast

On white

14.40
#4E0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4E0A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0A47
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0A47#FFFFFF#000000##FFFFFF
##4E0A471.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062449
Deuteranopia (green-blind)
#222D45
Tritanopia (blue-blind)
#521228
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4e0a47;
/* rgb */ color: rgb(78, 10, 71);
/* oklch */ color: oklch(30.0% 0.121 333.0);
Tailwind
colors: {
  custom: {
    50: '#82537a',
    500: '#4e0a47',
    950: '#000000',
  },
}
SCSS
$custom: #4e0a47;
$custom-light: #82537a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0a47",
  "rgb": {
    "r": 78,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 306.176,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.30018,
    "c": 0.12103,
    "h": 333
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#4E0A47
secondary
#298B33
accent
#F44834
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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