#50196C#50196C

#50196C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.139 H 311.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#50196C
RGBrgb(80, 25, 108)
HSLhsl(280, 62%, 26%)
HSVhsv(280, 77%, 42%)
CMYKcmyk(25.9%, 76.9%, 0%, 57.6%)
CIE-LABlab(21.89, 39.72, -36.86)
CIE-LCHlch(21.89, 54.19, 317.13°)
OKLaboklab(34.43% 0.0922 -0.1043)
OKLCHoklch(34.43% 0.139 311.5)
XYZxyz(6.3622, 3.4836, 14.5217)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50196C #356C19
analogous
#26196C #50196C #6C195E
triadic
#50196C #6C5019 #196C50
tetradic
#50196C #6C2619 #356C19 #195E6C
square
#50196C #6C2619 #356C19 #195E6C
split-complementary
#50196C #5E6C19 #196C26
monochromatic
#120619 #2B0D3A #50196C #75259E #9A30CF

Accessibility & contrast

On white

12.38
#50196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50196C
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50196C#FFFFFF#000000##FFFFFF
##50196C1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#0C356A
Tritanopia (blue-blind)
#4C2C41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #50196c;
/* rgb */ color: rgb(80, 25, 108);
/* oklch */ color: oklch(34.4% 0.139 311.5);
Tailwind
colors: {
  custom: {
    50: '#855c97',
    500: '#50196c',
    950: '#000000',
  },
}
SCSS
$custom: #50196c;
$custom-light: #855c97;
$custom-dark: #000000;
JSON
{
  "hex": "#50196c",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 279.759,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34427,
    "c": 0.13919,
    "h": 311.5
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#50196C
secondary
#60A13F
accent
#E54279
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50196C

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

Preview Lab → · Contrast checker → · Palette generator →

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