#4E1390#4E1390

#4E1390 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.182 H 297.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#4E1390
RGBrgb(78, 19, 144)
HSLhsl(268, 77%, 32%)
HSVhsv(268, 87%, 56%)
CMYKcmyk(45.8%, 86.8%, 0%, 43.5%)
CIE-LABlab(24.00, 50.39, -56.27)
CIE-LCHlch(24.00, 75.53, 311.84°)
OKLaboklab(36.82% 0.0836 -0.1613)
OKLCHoklch(36.82% 0.182 297.4)
XYZxyz(8.4075, 4.0989, 26.7284)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1390 #559013
analogous
#131790 #4E1390 #8D1390
triadic
#4E1390 #904E13 #13904E
tetradic
#4E1390 #901317 #559013 #13908D
square
#4E1390 #901317 #559013 #13908D
split-complementary
#4E1390 #908D13 #179013
monochromatic
#130524 #310C5A #4E1390 #6B1AC6 #8A39E5

Accessibility & contrast

On white

11.54
#4E1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1390
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1390#FFFFFF#000000##FFFFFF
##4E13901.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#3C3954
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4e1390;
/* rgb */ color: rgb(78, 19, 144);
/* oklch */ color: oklch(36.8% 0.182 297.4);
Tailwind
colors: {
  custom: {
    50: '#875bb2',
    500: '#4e1390',
    950: '#000000',
  },
}
SCSS
$custom: #4e1390;
$custom-light: #875bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1390",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 268.32,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36822,
    "c": 0.18166,
    "h": 297.4
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#4E1390
secondary
#83C43B
accent
#F33599
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4E1390

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

Preview Lab → · Contrast checker → · Palette generator →

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