#4E0D56#4E0D56

#4E0D56 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.131 H 323.0°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#4E0D56
RGBrgb(78, 13, 86)
HSLhsl(293, 74%, 19%)
HSVhsv(293, 85%, 34%)
CMYKcmyk(9.3%, 84.9%, 0%, 66.3%)
CIE-LABlab(18.28, 39.18, -28.15)
CIE-LCHlch(18.28, 48.24, 324.30°)
OKLaboklab(31.28% 0.1045 -0.0787)
OKLCHoklch(31.28% 0.131 323)
XYZxyz(4.9654, 2.5797, 9.0387)
Luminance0.0258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D56 #15560D
analogous
#2A0D56 #4E0D56 #560D3A
triadic
#4E0D56 #564E0D #0D564E
tetradic
#4E0D56 #562A0D #15560D #0D3A56
square
#4E0D56 #562A0D #15560D #0D3A56
split-complementary
#4E0D56 #3A560D #0D562A
monochromatic
#18041B #1E0521 #4E0D56 #7E158B #AE1DC0

Accessibility & contrast

On white

13.85
#4E0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4E0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0D56
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0D56#FFFFFF#000000##FFFFFF
##4E0D561.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#1A2F54
Tritanopia (blue-blind)
#4F1C32
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e0d56;
/* rgb */ color: rgb(78, 13, 86);
/* oklch */ color: oklch(31.3% 0.131 323.0);
Tailwind
colors: {
  custom: {
    50: '#835586',
    500: '#4e0d56',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d56;
$custom-light: #835586;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d56",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 293.425,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3128,
    "c": 0.13082,
    "h": 323
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#4E0D56
secondary
#39912E
accent
#F0374C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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