#4E19B4#4E19B4

#4E19B4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 41.0% C 0.215 H 288.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4E19B4
RGBrgb(78, 25, 180)
HSLhsl(261, 76%, 40%)
HSVhsv(261, 86%, 71%)
CMYKcmyk(56.7%, 86.1%, 0%, 29.4%)
CIE-LABlab(28.41, 57.50, -70.89)
CIE-LCHlch(28.41, 91.28, 309.05°)
OKLaboklab(40.95% 0.0661 -0.2041)
OKLCHoklch(40.95% 0.215 288)
XYZxyz(11.7253, 5.6096, 43.6361)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E19B4 #7FB419
analogous
#1932B4 #4E19B4 #9B19B4
triadic
#4E19B4 #B44E19 #19B44E
tetradic
#4E19B4 #B41932 #7FB419 #19B49B
square
#4E19B4 #B41932 #7FB419 #19B49B
split-complementary
#4E19B4 #B49B19 #32B419
monochromatic
#1F0A49 #37127E #4E19B4 #6829E1 #8E5FE9

Accessibility & contrast

On white

9.90
#4E19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E19B4
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E19B4#FFFFFF#000000##FFFFFF
##4E19B41.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#1E4B6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e19b4;
/* rgb */ color: rgb(78, 25, 180);
/* oklch */ color: oklch(41.0% 0.215 288.0);
Tailwind
colors: {
  custom: {
    50: '#8c60cc',
    500: '#4e19b4',
    950: '#000000',
  },
}
SCSS
$custom: #4e19b4;
$custom-light: #8c60cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e19b4",
  "rgb": {
    "r": 78,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 260.516,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40954,
    "c": 0.21452,
    "h": 288
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#4E19B4
secondary
#A6CD5C
accent
#F236B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4E19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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