#50219B#50219B

#50219B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.181 H 293.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#50219B
RGBrgb(80, 33, 155)
HSLhsl(263, 65%, 37%)
HSVhsv(263, 79%, 61%)
CMYKcmyk(48.4%, 78.7%, 0%, 39.2%)
CIE-LABlab(27.18, 48.06, -57.80)
CIE-LCHlch(27.18, 75.17, 309.74°)
OKLaboklab(39.41% 0.0731 -0.1658)
OKLCHoklch(39.41% 0.181 293.8)
XYZxyz(9.7669, 5.1594, 31.4853)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50219B #6C9B21
analogous
#212F9B #50219B #8D219B
triadic
#50219B #9B5021 #219B50
tetradic
#50219B #9B212F #6C9B21 #219B8D
square
#50219B #9B212F #6C9B21 #219B8D
split-complementary
#50219B #9B8D21 #2F9B21
monochromatic
#1C0C36 #361669 #50219B #6A2CCD #8C5ADC

Accessibility & contrast

On white

10.33
#50219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50219B
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50219B#FFFFFF#000000##FFFFFF
##50219B1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#39435D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #50219b;
/* rgb */ color: rgb(80, 33, 155);
/* oklch */ color: oklch(39.4% 0.181 293.8);
Tailwind
colors: {
  custom: {
    50: '#8962ba',
    500: '#50219b',
    950: '#000000',
  },
}
SCSS
$custom: #50219b;
$custom-light: #8962ba;
$custom-dark: #000000;
JSON
{
  "hex": "#50219b",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 263.115,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39409,
    "c": 0.18123,
    "h": 293.8
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#50219B
secondary
#98C058
accent
#E840A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #50219B

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

Preview Lab → · Contrast checker → · Palette generator →

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