#4E1D81#4E1D81

#4E1D81 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.157 H 301.0°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#4E1D81
RGBrgb(78, 29, 129)
HSLhsl(269, 63%, 31%)
HSVhsv(269, 78%, 51%)
CMYKcmyk(39.5%, 77.5%, 0%, 49.4%)
CIE-LABlab(23.95, 42.69, -46.97)
CIE-LCHlch(23.95, 63.47, 312.27°)
OKLaboklab(36.36% 0.0807 -0.1341)
OKLCHoklch(36.36% 0.157 301)
XYZxyz(7.5427, 4.0834, 21.1554)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D81 #50811D
analogous
#1D1E81 #4E1D81 #801D81
triadic
#4E1D81 #814E1D #1D814E
tetradic
#4E1D81 #811D1E #50811D #1D8180
square
#4E1D81 #811D1E #50811D #1D8180
split-complementary
#4E1D81 #81801D #1E811D
monochromatic
#12071D #30124F #4E1D81 #6C28B3 #8B44D5

Accessibility & contrast

On white

11.56
#4E1D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4E1D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D81
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D81#FFFFFF#000000##FFFFFF
##4E1D811.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1d81;
/* rgb */ color: rgb(78, 29, 129);
/* oklch */ color: oklch(36.4% 0.157 301.0);
Tailwind
colors: {
  custom: {
    50: '#855fa6',
    500: '#4e1d81',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d81;
$custom-light: #855fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d81",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 269.4,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36359,
    "c": 0.1565,
    "h": 301
  },
  "luminance": 0.04083
}

Semantic roles & 50–950 ramp

primary
#4E1D81
secondary
#7EB446
accent
#E64196
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #4E1D81

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

Preview Lab → · Contrast checker → · Palette generator →

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