#5019B4#5019B4

#5019B4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 41.2% C 0.214 H 288.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#5019B4
RGBrgb(80, 25, 180)
HSLhsl(261, 76%, 40%)
HSVhsv(261, 86%, 71%)
CMYKcmyk(55.6%, 86.1%, 0%, 29.4%)
CIE-LABlab(28.63, 57.70, -70.51)
CIE-LCHlch(28.63, 91.11, 309.29°)
OKLaboklab(41.16% 0.0693 -0.2029)
OKLCHoklch(41.16% 0.214 288.9)
XYZxyz(11.8917, 5.6954, 43.6439)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5019B4 #7DB419
analogous
#1930B4 #5019B4 #9D19B4
triadic
#5019B4 #B45019 #19B450
tetradic
#5019B4 #B41930 #7DB419 #19B49D
square
#5019B4 #B41930 #7DB419 #19B49D
split-complementary
#5019B4 #B49D19 #30B419
monochromatic
#200A49 #38127E #5019B4 #6A29E1 #905FE9

Accessibility & contrast

On white

9.82
#5019B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#5019B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5019B4
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5019B4#FFFFFF#000000##FFFFFF
##5019B41.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#0040B1
Tritanopia (blue-blind)
#254B6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #5019b4;
/* rgb */ color: rgb(80, 25, 180);
/* oklch */ color: oklch(41.2% 0.214 288.9);
Tailwind
colors: {
  custom: {
    50: '#8d60cc',
    500: '#5019b4',
    950: '#000000',
  },
}
SCSS
$custom: #5019b4;
$custom-light: #8d60cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5019b4",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 261.29,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41159,
    "c": 0.21444,
    "h": 288.9
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#5019B4
secondary
#A5CD5C
accent
#F236AF
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0514
muted
#7E7A82

Preview Lab

Preview with #5019B4

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

Preview Lab → · Contrast checker → · Palette generator →

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