#50219E#50219E

#50219E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.185 H 293.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#50219E
RGBrgb(80, 33, 158)
HSLhsl(263, 65%, 37%)
HSVhsv(263, 79%, 62%)
CMYKcmyk(49.4%, 79.1%, 0%, 38%)
CIE-LABlab(27.47, 48.86, -59.17)
CIE-LCHlch(27.47, 76.73, 309.55°)
OKLaboklab(39.69% 0.0722 -0.1698)
OKLCHoklch(39.69% 0.185 293)
XYZxyz(10.0220, 5.2615, 32.8286)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50219E #6F9E21
analogous
#21319E #50219E #8F219E
triadic
#50219E #9E5021 #219E50
tetradic
#50219E #9E2131 #6F9E21 #219E8F
square
#50219E #9E2131 #6F9E21 #219E8F
split-complementary
#50219E #9E8F21 #319E21
monochromatic
#1D0C39 #36166B #50219E #6A2CD1 #8D5CDD

Accessibility & contrast

On white

10.23
#50219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#50219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50219E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50219E#FFFFFF#000000##FFFFFF
##50219E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#37445F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #50219e;
/* rgb */ color: rgb(80, 33, 158);
/* oklch */ color: oklch(39.7% 0.185 293.0);
Tailwind
colors: {
  custom: {
    50: '#8a62bc',
    500: '#50219e',
    950: '#000000',
  },
}
SCSS
$custom: #50219e;
$custom-light: #8a62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50219e",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 262.56,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39693,
    "c": 0.18455,
    "h": 293
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

primary
#50219E
secondary
#9AC159
accent
#E83FA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0512
muted
#7D7A81

Preview Lab

Preview with #50219E

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

Preview Lab → · Contrast checker → · Palette generator →

#50219E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva