#5219A0#5219A0

#5219A0 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.4% C 0.194 H 294.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#5219A0
RGBrgb(82, 25, 160)
HSLhsl(265, 73%, 36%)
HSVhsv(265, 84%, 63%)
CMYKcmyk(48.8%, 84.4%, 0%, 37.3%)
CIE-LABlab(26.81, 52.85, -61.45)
CIE-LCHlch(26.81, 81.05, 310.69°)
OKLaboklab(39.35% 0.0802 -0.1764)
OKLCHoklch(39.35% 0.194 294.5)
XYZxyz(10.1707, 5.0269, 33.6853)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5219A0 #67A019
analogous
#1924A0 #5219A0 #9619A0
triadic
#5219A0 #A05219 #19A052
tetradic
#5219A0 #A01924 #67A019 #19A096
square
#5219A0 #A01924 #67A019 #19A096
split-complementary
#5219A0 #A09619 #24A019
monochromatic
#1C0836 #37116B #5219A0 #6D21D5 #8E50E4

Accessibility & contrast

On white

10.47
#5219A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#5219A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5219A0
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5219A0#FFFFFF#000000##FFFFFF
##5219A01.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#003D9E
Tritanopia (blue-blind)
#3A425F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5219a0;
/* rgb */ color: rgb(82, 25, 160);
/* oklch */ color: oklch(39.4% 0.194 294.5);
Tailwind
colors: {
  custom: {
    50: '#8b5fbd',
    500: '#5219a0',
    950: '#000000',
  },
}
SCSS
$custom: #5219a0;
$custom-light: #8b5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5219a0",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 265.333,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.19378,
    "h": 294.5
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#5219A0
secondary
#94C64F
accent
#F038A2
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #5219A0

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

Preview Lab → · Contrast checker → · Palette generator →

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