#5019CA#5019CA

#5019CA is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.5% C 0.237 H 284.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#5019CA
RGBrgb(80, 25, 202)
HSLhsl(259, 78%, 45%)
HSVhsv(259, 88%, 79%)
CMYKcmyk(60.4%, 87.6%, 0%, 20.8%)
CIE-LABlab(31.03, 63.30, -79.53)
CIE-LCHlch(31.03, 101.65, 308.52°)
OKLaboklab(43.49% 0.0606 -0.2292)
OKLCHoklch(43.49% 0.237 284.8)
XYZxyz(14.3133, 6.6641, 56.3977)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5019CA #93CA19
analogous
#193BCA #5019CA #A919CA
triadic
#5019CA #CA5019 #19CA50
tetradic
#5019CA #CA193B #93CA19 #19CAA9
square
#5019CA #CA193B #93CA19 #19CAA9
split-complementary
#5019CA #CAA919 #3BCA19
monochromatic
#250C5D #3A1294 #5019CA #6F3AE7 #9770ED

Accessibility & contrast

On white

9.00
#5019CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5019CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5019CA
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5019CA#FFFFFF#000000##FFFFFF
##5019CA1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECE
Deuteranopia (green-blind)
#0044C7
Tritanopia (blue-blind)
#005578
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5019ca;
/* rgb */ color: rgb(80, 25, 202);
/* oklch */ color: oklch(43.5% 0.237 284.8);
Tailwind
colors: {
  custom: {
    50: '#9162dc',
    500: '#5019ca',
    950: '#000000',
  },
}
SCSS
$custom: #5019ca;
$custom-light: #9162dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5019ca",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 202
  },
  "hsl": {
    "h": 258.644,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43494,
    "c": 0.23706,
    "h": 284.8
  },
  "luminance": 0.06665
}

Semantic roles & 50–950 ramp

primary
#5019CA
secondary
#B3D46B
accent
#F433B8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5019CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5019CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva