#50196A#50196A

#50196A is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.137 H 312.4°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#50196A
RGBrgb(80, 25, 106)
HSLhsl(281, 62%, 26%)
HSVhsv(281, 76%, 42%)
CMYKcmyk(24.5%, 76.4%, 0%, 58.4%)
CIE-LABlab(21.73, 39.25, -35.81)
CIE-LCHlch(21.73, 53.13, 317.62°)
OKLaboklab(34.27% 0.0925 -0.1012)
OKLCHoklch(34.27% 0.137 312.4)
XYZxyz(6.2569, 3.4415, 13.9676)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50196A #336A19
analogous
#27196A #50196A #6A195B
triadic
#50196A #6A5019 #196A50
tetradic
#50196A #6A2719 #336A19 #195B6A
square
#50196A #6A2719 #336A19 #195B6A
split-complementary
#50196A #5B6A19 #196A27
monochromatic
#130619 #2B0D38 #50196A #75259C #9B30CD

Accessibility & contrast

On white

12.44
#50196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#50196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50196A
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50196A#FFFFFF#000000##FFFFFF
##50196A1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#0F3568
Tritanopia (blue-blind)
#4D2B40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #50196a;
/* rgb */ color: rgb(80, 25, 106);
/* oklch */ color: oklch(34.3% 0.137 312.4);
Tailwind
colors: {
  custom: {
    50: '#845c95',
    500: '#50196a',
    950: '#000000',
  },
}
SCSS
$custom: #50196a;
$custom-light: #845c95;
$custom-dark: #000000;
JSON
{
  "hex": "#50196a",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 280.741,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3427,
    "c": 0.1371,
    "h": 312.4
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#50196A
secondary
#5EA03F
accent
#E54377
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50196A

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

Preview Lab → · Contrast checker → · Palette generator →

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