#50219A#50219A

#50219A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.180 H 294.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#50219A
RGBrgb(80, 33, 154)
HSLhsl(263, 65%, 37%)
HSVhsv(263, 79%, 60%)
CMYKcmyk(48.1%, 78.6%, 0%, 39.6%)
CIE-LABlab(27.09, 47.79, -57.34)
CIE-LCHlch(27.09, 74.64, 309.81°)
OKLaboklab(39.32% 0.0734 -0.1645)
OKLCHoklch(39.32% 0.18 294.1)
XYZxyz(9.6833, 5.1260, 31.0448)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50219A #6B9A21
analogous
#212E9A #50219A #8D219A
triadic
#50219A #9A5021 #219A50
tetradic
#50219A #9A212E #6B9A21 #219A8D
square
#50219A #9A212E #6B9A21 #219A8D
split-complementary
#50219A #9A8D21 #2E9A21
monochromatic
#1C0B35 #361668 #50219A #6A2CCC #8C5ADC

Accessibility & contrast

On white

10.37
#50219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#50219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50219A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50219A#FFFFFF#000000##FFFFFF
##50219A1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#3A435D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #50219a;
/* rgb */ color: rgb(80, 33, 154);
/* oklch */ color: oklch(39.3% 0.180 294.1);
Tailwind
colors: {
  custom: {
    50: '#8962b9',
    500: '#50219a',
    950: '#000000',
  },
}
SCSS
$custom: #50219a;
$custom-light: #8962b9;
$custom-dark: #000000;
JSON
{
  "hex": "#50219a",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 263.306,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39315,
    "c": 0.18013,
    "h": 294.1
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#50219A
secondary
#97C057
accent
#E840A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #50219A

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

Preview Lab → · Contrast checker → · Palette generator →

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