#4E1D86#4E1D86

#4E1D86 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.162 H 299.4°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#4E1D86
RGBrgb(78, 29, 134)
HSLhsl(268, 64%, 32%)
HSVhsv(268, 78%, 53%)
CMYKcmyk(41.8%, 78.4%, 0%, 47.5%)
CIE-LABlab(24.38, 43.98, -49.39)
CIE-LCHlch(24.38, 66.14, 311.68°)
OKLaboklab(36.8% 0.0794 -0.1412)
OKLCHoklch(36.8% 0.162 299.4)
XYZxyz(7.8832, 4.2196, 22.9488)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D86 #55861D
analogous
#1D2186 #4E1D86 #831D86
triadic
#4E1D86 #864E1D #1D864E
tetradic
#4E1D86 #861D21 #55861D #1D8683
square
#4E1D86 #861D21 #55861D #1D8683
split-complementary
#4E1D86 #86831D #21861D
monochromatic
#130721 #311254 #4E1D86 #6B28B8 #8A46D7

Accessibility & contrast

On white

11.39
#4E1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4E1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D86
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D86#FFFFFF#000000##FFFFFF
##4E1D861.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#413951
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e1d86;
/* rgb */ color: rgb(78, 29, 134);
/* oklch */ color: oklch(36.8% 0.162 299.4);
Tailwind
colors: {
  custom: {
    50: '#855faa',
    500: '#4e1d86',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d86;
$custom-light: #855faa;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d86",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 268,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36804,
    "c": 0.16201,
    "h": 299.4
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#4E1D86
secondary
#83B946
accent
#E74099
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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