#5219CA#5219CA

#5219CA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.7% C 0.237 H 285.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#5219CA
RGBrgb(82, 25, 202)
HSLhsl(259, 78%, 45%)
HSVhsv(259, 88%, 79%)
CMYKcmyk(59.4%, 87.6%, 0%, 20.8%)
CIE-LABlab(31.24, 63.46, -79.18)
CIE-LCHlch(31.24, 101.48, 308.71°)
OKLaboklab(43.68% 0.0638 -0.2281)
OKLCHoklch(43.68% 0.237 285.6)
XYZxyz(14.4847, 6.7525, 56.4058)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5219CA #91CA19
analogous
#1939CA #5219CA #AB19CA
triadic
#5219CA #CA5219 #19CA52
tetradic
#5219CA #CA1939 #91CA19 #19CAAB
square
#5219CA #CA1939 #91CA19 #19CAAB
split-complementary
#5219CA #CAAB19 #39CA19
monochromatic
#260C5D #3C1294 #5219CA #713AE7 #9870ED

Accessibility & contrast

On white

8.93
#5219CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5219CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5219CA
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5219CA#FFFFFF#000000##FFFFFF
##5219CA1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5219ca;
/* rgb */ color: rgb(82, 25, 202);
/* oklch */ color: oklch(43.7% 0.237 285.6);
Tailwind
colors: {
  custom: {
    50: '#9262dc',
    500: '#5219ca',
    950: '#000000',
  },
}
SCSS
$custom: #5219ca;
$custom-light: #9262dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5219ca",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 202
  },
  "hsl": {
    "h": 259.322,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.23687,
    "h": 285.6
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#5219CA
secondary
#B2D46B
accent
#F433B6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #5219CA

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

Preview Lab → · Contrast checker → · Palette generator →

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