#5A19A0#5A19A0

#5A19A0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.195 H 298.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#5A19A0
RGBrgb(90, 25, 160)
HSLhsl(269, 73%, 36%)
HSVhsv(269, 84%, 63%)
CMYKcmyk(43.7%, 84.4%, 0%, 37.3%)
CIE-LABlab(27.86, 53.91, -59.69)
CIE-LCHlch(27.86, 80.43, 312.09°)
OKLaboklab(40.31% 0.0928 -0.1709)
OKLCHoklch(40.31% 0.195 298.5)
XYZxyz(10.9076, 5.4068, 33.7198)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A19A0 #5FA019
analogous
#191CA0 #5A19A0 #9E19A0
triadic
#5A19A0 #A05A19 #19A05A
tetradic
#5A19A0 #A0191C #5FA019 #19A09E
square
#5A19A0 #A0191C #5FA019 #19A09E
split-complementary
#5A19A0 #A09E19 #1CA019
monochromatic
#1E0836 #3C116B #5A19A0 #7821D5 #9750E4

Accessibility & contrast

On white

10.09
#5A19A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#5A19A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A19A0
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A19A0#FFFFFF#000000##FFFFFF
##5A19A01.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#48415F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5a19a0;
/* rgb */ color: rgb(90, 25, 160);
/* oklch */ color: oklch(40.3% 0.195 298.5);
Tailwind
colors: {
  custom: {
    50: '#9060bd',
    500: '#5a19a0',
    950: '#000000',
  },
}
SCSS
$custom: #5a19a0;
$custom-light: #9060bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a19a0",
  "rgb": {
    "r": 90,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 268.889,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.19452,
    "h": 298.5
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#5A19A0
secondary
#8DC64F
accent
#F03897
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #5A19A0

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

Preview Lab → · Contrast checker → · Palette generator →

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