#5D19A0#5D19A0

#5D19A0 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.195 H 300.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#5D19A0
RGBrgb(93, 25, 160)
HSLhsl(270, 73%, 36%)
HSVhsv(270, 84%, 63%)
CMYKcmyk(41.9%, 84.4%, 0%, 37.3%)
CIE-LABlab(28.28, 54.33, -58.99)
CIE-LCHlch(28.28, 80.20, 312.64°)
OKLaboklab(40.68% 0.0975 -0.1688)
OKLCHoklch(40.68% 0.195 300)
XYZxyz(11.2054, 5.5604, 33.7338)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D19A0 #5CA019
analogous
#1919A0 #5D19A0 #A019A0
triadic
#5D19A0 #A05D19 #19A05D
tetradic
#5D19A0 #A01919 #5CA019 #19A0A0
square
#5D19A0 #A01919 #5CA019 #19A0A0
split-complementary
#5D19A0 #A0A019 #19A019
monochromatic
#1F0836 #3E116B #5D19A0 #7C21D5 #9A50E4

Accessibility & contrast

On white

9.94
#5D19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#5D19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D19A0
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D19A0#FFFFFF#000000##FFFFFF
##5D19A01.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#4D415F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5d19a0;
/* rgb */ color: rgb(93, 25, 160);
/* oklch */ color: oklch(40.7% 0.195 300.0);
Tailwind
colors: {
  custom: {
    50: '#9260bd',
    500: '#5d19a0',
    950: '#000000',
  },
}
SCSS
$custom: #5d19a0;
$custom-light: #9260bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d19a0",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 270.222,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.19493,
    "h": 300
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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