#5B19A0#5B19A0

#5B19A0 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.195 H 299.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#5B19A0
RGBrgb(91, 25, 160)
HSLhsl(269, 73%, 36%)
HSVhsv(269, 84%, 63%)
CMYKcmyk(43.1%, 84.4%, 0%, 37.3%)
CIE-LABlab(28.00, 54.05, -59.46)
CIE-LCHlch(28.00, 80.35, 312.27°)
OKLaboklab(40.43% 0.0944 -0.1702)
OKLCHoklch(40.43% 0.195 299)
XYZxyz(11.0055, 5.4573, 33.7244)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B19A0 #5EA019
analogous
#191BA0 #5B19A0 #9F19A0
triadic
#5B19A0 #A05B19 #19A05B
tetradic
#5B19A0 #A0191B #5EA019 #19A09F
square
#5B19A0 #A0191B #5EA019 #19A09F
split-complementary
#5B19A0 #A09F19 #1BA019
monochromatic
#1F0836 #3D116B #5B19A0 #7921D5 #9850E4

Accessibility & contrast

On white

10.04
#5B19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#5B19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B19A0
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B19A0#FFFFFF#000000##FFFFFF
##5B19A01.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#4A415F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5b19a0;
/* rgb */ color: rgb(91, 25, 160);
/* oklch */ color: oklch(40.4% 0.195 299.0);
Tailwind
colors: {
  custom: {
    50: '#9160bd',
    500: '#5b19a0',
    950: '#000000',
  },
}
SCSS
$custom: #5b19a0;
$custom-light: #9160bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b19a0",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 269.333,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.19466,
    "h": 299
  },
  "luminance": 0.05457
}

Semantic roles & 50–950 ramp

primary
#5B19A0
secondary
#8CC64F
accent
#F03896
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5B19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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