#50219C#50219C

#50219C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.182 H 293.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#50219C
RGBrgb(80, 33, 156)
HSLhsl(263, 65%, 37%)
HSVhsv(263, 79%, 61%)
CMYKcmyk(48.7%, 78.8%, 0%, 38.8%)
CIE-LABlab(27.28, 48.32, -58.26)
CIE-LCHlch(27.28, 75.69, 309.67°)
OKLaboklab(39.5% 0.0728 -0.1672)
OKLCHoklch(39.5% 0.182 293.5)
XYZxyz(9.8512, 5.1932, 31.9294)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50219C #6D9C21
analogous
#21309C #50219C #8E219C
triadic
#50219C #9C5021 #219C50
tetradic
#50219C #9C2130 #6D9C21 #219C8E
square
#50219C #9C2130 #6D9C21 #219C8E
split-complementary
#50219C #9C8E21 #309C21
monochromatic
#1C0C37 #361669 #50219C #6A2CCF #8C5BDC

Accessibility & contrast

On white

10.30
#50219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#50219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50219C
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50219C#FFFFFF#000000##FFFFFF
##50219C1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#38435E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #50219c;
/* rgb */ color: rgb(80, 33, 156);
/* oklch */ color: oklch(39.5% 0.182 293.5);
Tailwind
colors: {
  custom: {
    50: '#8962ba',
    500: '#50219c',
    950: '#000000',
  },
}
SCSS
$custom: #50219c;
$custom-light: #8962ba;
$custom-dark: #000000;
JSON
{
  "hex": "#50219c",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 262.927,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39503,
    "c": 0.18234,
    "h": 293.5
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#50219C
secondary
#99C158
accent
#E840A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0512
muted
#7D7A81

Preview Lab

Preview with #50219C

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

Preview Lab → · Contrast checker → · Palette generator →

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