#4E1E84#4E1E84

#4E1E84 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.159 H 299.9°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#4E1E84
RGBrgb(78, 30, 132)
HSLhsl(268, 63%, 32%)
HSVhsv(268, 77%, 52%)
CMYKcmyk(40.9%, 77.3%, 0%, 48.2%)
CIE-LABlab(24.37, 43.01, -48.17)
CIE-LCHlch(24.37, 64.57, 311.76°)
OKLaboklab(36.74% 0.079 -0.1376)
OKLCHoklch(36.74% 0.159 299.9)
XYZxyz(7.7700, 4.2141, 22.2294)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E84 #54841E
analogous
#1E2184 #4E1E84 #811E84
triadic
#4E1E84 #844E1E #1E844E
tetradic
#4E1E84 #841E21 #54841E #1E8481
square
#4E1E84 #841E21 #54841E #1E8481
split-complementary
#4E1E84 #84811E #21841E
monochromatic
#130720 #311352 #4E1E84 #6B29B6 #8A47D5

Accessibility & contrast

On white

11.40
#4E1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E84
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E84#FFFFFF#000000##FFFFFF
##4E1E841.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#413850
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e1e84;
/* rgb */ color: rgb(78, 30, 132);
/* oklch */ color: oklch(36.7% 0.159 299.9);
Tailwind
colors: {
  custom: {
    50: '#855fa9',
    500: '#4e1e84',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e84;
$custom-light: #855fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e84",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 268.235,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36737,
    "c": 0.15869,
    "h": 299.9
  },
  "luminance": 0.04214
}

Semantic roles & 50–950 ramp

primary
#4E1E84
secondary
#82B747
accent
#E64299
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4E1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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