#4E1E81#4E1E81

#4E1E81 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.155 H 300.9°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#4E1E81
RGBrgb(78, 30, 129)
HSLhsl(269, 62%, 31%)
HSVhsv(269, 77%, 51%)
CMYKcmyk(39.5%, 76.7%, 0%, 49.4%)
CIE-LABlab(24.11, 42.23, -46.70)
CIE-LCHlch(24.11, 62.96, 312.12°)
OKLaboklab(36.47% 0.0798 -0.1333)
OKLCHoklch(36.47% 0.155 300.9)
XYZxyz(7.5676, 4.1332, 21.1637)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E81 #51811E
analogous
#1E1F81 #4E1E81 #7F1E81
triadic
#4E1E81 #814E1E #1E814E
tetradic
#4E1E81 #811E1F #51811E #1E817F
square
#4E1E81 #811E1F #51811E #1E817F
split-complementary
#4E1E81 #817F1E #1F811E
monochromatic
#12071E #30124F #4E1E81 #6C2AB3 #8B46D4

Accessibility & contrast

On white

11.50
#4E1E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4E1E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E81
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E81#FFFFFF#000000##FFFFFF
##4E1E811.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003984
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#43374E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e1e81;
/* rgb */ color: rgb(78, 30, 129);
/* oklch */ color: oklch(36.5% 0.155 300.9);
Tailwind
colors: {
  custom: {
    50: '#855fa6',
    500: '#4e1e81',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e81;
$custom-light: #855fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e81",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 129
  },
  "hsl": {
    "h": 269.091,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36473,
    "c": 0.15534,
    "h": 300.9
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#4E1E81
secondary
#7FB447
accent
#E54296
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4E1E81

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

Preview Lab → · Contrast checker → · Palette generator →

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