#50219D#50219D

#50219D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.183 H 293.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#50219D
RGBrgb(80, 33, 157)
HSLhsl(263, 65%, 37%)
HSVhsv(263, 79%, 62%)
CMYKcmyk(49%, 79%, 0%, 38.4%)
CIE-LABlab(27.37, 48.59, -58.71)
CIE-LCHlch(27.37, 76.21, 309.61°)
OKLaboklab(39.6% 0.0725 -0.1685)
OKLCHoklch(39.6% 0.183 293.3)
XYZxyz(9.9362, 5.2272, 32.3772)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50219D #6E9D21
analogous
#21309D #50219D #8E219D
triadic
#50219D #9D5021 #219D50
tetradic
#50219D #9D2130 #6E9D21 #219D8E
square
#50219D #9D2130 #6E9D21 #219D8E
split-complementary
#50219D #9D8E21 #309D21
monochromatic
#1C0C38 #36166A #50219D #6A2CD0 #8D5CDD

Accessibility & contrast

On white

10.27
#50219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50219D
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50219D#FFFFFF#000000##FFFFFF
##50219D1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#38445F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #50219d;
/* rgb */ color: rgb(80, 33, 157);
/* oklch */ color: oklch(39.6% 0.183 293.3);
Tailwind
colors: {
  custom: {
    50: '#8962bb',
    500: '#50219d',
    950: '#000000',
  },
}
SCSS
$custom: #50219d;
$custom-light: #8962bb;
$custom-dark: #000000;
JSON
{
  "hex": "#50219d",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 262.742,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39598,
    "c": 0.18345,
    "h": 293.3
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #50219D

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

Preview Lab → · Contrast checker → · Palette generator →

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