#4E19A0#4E19A0

#4E19A0 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.9% C 0.194 H 292.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#4E19A0
RGBrgb(78, 25, 160)
HSLhsl(264, 73%, 36%)
HSVhsv(264, 84%, 63%)
CMYKcmyk(51.2%, 84.4%, 0%, 37.3%)
CIE-LABlab(26.31, 52.35, -62.30)
CIE-LCHlch(26.31, 81.37, 310.04°)
OKLaboklab(38.9% 0.0738 -0.179)
OKLCHoklch(38.9% 0.194 292.4)
XYZxyz(9.8329, 4.8527, 33.6695)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E19A0 #6BA019
analogous
#1927A0 #4E19A0 #9219A0
triadic
#4E19A0 #A04E19 #19A04E
tetradic
#4E19A0 #A01927 #6BA019 #19A092
square
#4E19A0 #A01927 #6BA019 #19A092
split-complementary
#4E19A0 #A09219 #27A019
monochromatic
#1A0836 #34116B #4E19A0 #6821D5 #8A50E4

Accessibility & contrast

On white

10.66
#4E19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E19A0
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E19A0#FFFFFF#000000##FFFFFF
##4E19A01.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#32425F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e19a0;
/* rgb */ color: rgb(78, 25, 160);
/* oklch */ color: oklch(38.9% 0.194 292.4);
Tailwind
colors: {
  custom: {
    50: '#895fbd',
    500: '#4e19a0',
    950: '#000000',
  },
}
SCSS
$custom: #4e19a0;
$custom-light: #895fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e19a0",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 263.556,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.19361,
    "h": 292.4
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#4E19A0
secondary
#97C64F
accent
#F038A8
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #4E19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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