#4E0B56#4E0B56

#4E0B56 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.133 H 323.1°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#4E0B56
RGBrgb(78, 11, 86)
HSLhsl(294, 77%, 19%)
HSVhsv(294, 87%, 34%)
CMYKcmyk(9.3%, 87.2%, 0%, 66.3%)
CIE-LABlab(18.06, 39.80, -28.50)
CIE-LCHlch(18.06, 48.95, 324.40°)
OKLaboklab(31.13% 0.1062 -0.0797)
OKLCHoklch(31.13% 0.133 323.1)
XYZxyz(4.9411, 2.5312, 9.0306)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0B56 #13560B
analogous
#290B56 #4E0B56 #560B39
triadic
#4E0B56 #564E0B #0B564E
tetradic
#4E0B56 #56290B #13560B #0B3956
square
#4E0B56 #56290B #13560B #0B3956
split-complementary
#4E0B56 #39560B #0B5629
monochromatic
#19031B #1D0420 #4E0B56 #7F128C #B019C3

Accessibility & contrast

On white

13.94
#4E0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0B56
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0B56#FFFFFF#000000##FFFFFF
##4E0B561.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#192F54
Tritanopia (blue-blind)
#4F1B31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e0b56;
/* rgb */ color: rgb(78, 11, 86);
/* oklch */ color: oklch(31.1% 0.133 323.1);
Tailwind
colors: {
  custom: {
    50: '#835486',
    500: '#4e0b56',
    950: '#000000',
  },
}
SCSS
$custom: #4e0b56;
$custom-light: #835486;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0b56",
  "rgb": {
    "r": 78,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 293.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31128,
    "c": 0.13278,
    "h": 323.1
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#4E0B56
secondary
#36912B
accent
#F43448
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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