#5E19A1#5E19A1

#5E19A1 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.9% C 0.196 H 300.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#5E19A1
RGBrgb(94, 25, 161)
HSLhsl(270, 73%, 36%)
HSVhsv(270, 84%, 63%)
CMYKcmyk(41.6%, 84.5%, 0%, 36.9%)
CIE-LABlab(28.51, 54.71, -59.22)
CIE-LCHlch(28.51, 80.62, 312.73°)
OKLaboklab(40.9% 0.0987 -0.1694)
OKLCHoklch(40.9% 0.196 300.2)
XYZxyz(11.3951, 5.6480, 34.2011)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E19A1 #5CA119
analogous
#1A19A1 #5E19A1 #A119A0
triadic
#5E19A1 #A15E19 #19A15E
tetradic
#5E19A1 #A11A19 #5CA119 #19A0A1
square
#5E19A1 #A11A19 #5CA119 #19A0A1
split-complementary
#5E19A1 #A0A119 #19A11A
monochromatic
#200937 #3F116C #5E19A1 #7D21D6 #9B50E4

Accessibility & contrast

On white

9.86
#5E19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#5E19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E19A1
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E19A1#FFFFFF#000000##FFFFFF
##5E19A11.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#4E415F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5e19a1;
/* rgb */ color: rgb(94, 25, 161);
/* oklch */ color: oklch(40.9% 0.196 300.2);
Tailwind
colors: {
  custom: {
    50: '#9361be',
    500: '#5e19a1',
    950: '#000000',
  },
}
SCSS
$custom: #5e19a1;
$custom-light: #9361be;
$custom-dark: #000000;
JSON
{
  "hex": "#5e19a1",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 270.441,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.19606,
    "h": 300.2
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#5E19A1
secondary
#8AC64F
accent
#F03893
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5E19A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5E19A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva