#50196D#50196D

#50196D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.140 H 311.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#50196D
RGBrgb(80, 25, 109)
HSLhsl(279, 63%, 26%)
HSVhsv(279, 77%, 43%)
CMYKcmyk(26.6%, 77.1%, 0%, 57.3%)
CIE-LABlab(21.96, 39.95, -37.39)
CIE-LCHlch(21.96, 54.72, 316.90°)
OKLaboklab(34.51% 0.092 -0.1058)
OKLCHoklch(34.51% 0.14 311)
XYZxyz(6.4157, 3.5050, 14.8036)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50196D #366D19
analogous
#26196D #50196D #6D1960
triadic
#50196D #6D5019 #196D50
tetradic
#50196D #6D2619 #366D19 #19606D
square
#50196D #6D2619 #366D19 #19606D
split-complementary
#50196D #606D19 #196D26
monochromatic
#120619 #2B0E3B #50196D #75249F #9931D0

Accessibility & contrast

On white

12.35
#50196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#50196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50196D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50196D#FFFFFF#000000##FFFFFF
##50196D1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#0A366B
Tritanopia (blue-blind)
#4C2C41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #50196d;
/* rgb */ color: rgb(80, 25, 109);
/* oklch */ color: oklch(34.5% 0.140 311.0);
Tailwind
colors: {
  custom: {
    50: '#855c97',
    500: '#50196d',
    950: '#000000',
  },
}
SCSS
$custom: #50196d;
$custom-light: #855c97;
$custom-dark: #000000;
JSON
{
  "hex": "#50196d",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 279.286,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34506,
    "c": 0.14023,
    "h": 311
  },
  "luminance": 0.03505
}

Semantic roles & 50–950 ramp

primary
#50196D
secondary
#62A23F
accent
#E6427B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50196D

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

Preview Lab → · Contrast checker → · Palette generator →

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