#50219F#50219F

#50219F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.186 H 292.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#50219F
RGBrgb(80, 33, 159)
HSLhsl(262, 66%, 38%)
HSVhsv(262, 79%, 62%)
CMYKcmyk(49.7%, 79.2%, 0%, 37.6%)
CIE-LABlab(27.56, 49.13, -59.62)
CIE-LCHlch(27.56, 77.25, 309.49°)
OKLaboklab(39.79% 0.0719 -0.1712)
OKLCHoklch(39.79% 0.186 292.8)
XYZxyz(10.1084, 5.2960, 33.2838)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50219F #709F21
analogous
#21319F #50219F #8F219F
triadic
#50219F #9F5021 #219F50
tetradic
#50219F #9F2131 #709F21 #219F8F
square
#50219F #9F2131 #709F21 #219F8F
split-complementary
#50219F #9F8F21 #319F21
monochromatic
#1D0C3A #36166C #50219F #6A2CD2 #8D5DDD

Accessibility & contrast

On white

10.20
#50219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#50219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50219F
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50219F#FFFFFF#000000##FFFFFF
##50219F1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#374560
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #50219f;
/* rgb */ color: rgb(80, 33, 159);
/* oklch */ color: oklch(39.8% 0.186 292.8);
Tailwind
colors: {
  custom: {
    50: '#8a62bc',
    500: '#50219f',
    950: '#000000',
  },
}
SCSS
$custom: #50219f;
$custom-light: #8a62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#50219f",
  "rgb": {
    "r": 80,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 262.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39788,
    "c": 0.18565,
    "h": 292.8
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#50219F
secondary
#9BC25A
accent
#E93FA9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0512
muted
#7D7A81

Preview Lab

Preview with #50219F

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

Preview Lab → · Contrast checker → · Palette generator →

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