#5119CA#5119CA

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

Color values

HEX#5119CA
RGBrgb(81, 25, 202)
HSLhsl(259, 78%, 45%)
HSVhsv(259, 88%, 79%)
CMYKcmyk(59.9%, 87.6%, 0%, 20.8%)
CIE-LABlab(31.13, 63.38, -79.36)
CIE-LCHlch(31.13, 101.56, 308.61°)
OKLaboklab(43.59% 0.0622 -0.2287)
OKLCHoklch(43.59% 0.237 285.2)
XYZxyz(14.3984, 6.7079, 56.4017)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5119CA #92CA19
analogous
#193ACA #5119CA #AA19CA
triadic
#5119CA #CA5119 #19CA51
tetradic
#5119CA #CA193A #92CA19 #19CAAA
square
#5119CA #CA193A #92CA19 #19CAAA
split-complementary
#5119CA #CAAA19 #3ACA19
monochromatic
#250C5D #3B1294 #5119CA #703AE7 #9870ED

Accessibility & contrast

On white

8.97
#5119CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5119CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5119CA
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5119CA#FFFFFF#000000##FFFFFF
##5119CA1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.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: #5119ca;
/* rgb */ color: rgb(81, 25, 202);
/* oklch */ color: oklch(43.6% 0.237 285.2);
Tailwind
colors: {
  custom: {
    50: '#9162dc',
    500: '#5119ca',
    950: '#000000',
  },
}
SCSS
$custom: #5119ca;
$custom-light: #9162dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5119ca",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 202
  },
  "hsl": {
    "h": 258.983,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.23696,
    "h": 285.2
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5119CA

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

Preview Lab → · Contrast checker → · Palette generator →

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