#50156A#50156A

#50156A is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.142 H 312.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#50156A
RGBrgb(80, 21, 106)
HSLhsl(282, 67%, 25%)
HSVhsv(282, 80%, 42%)
CMYKcmyk(24.5%, 80.2%, 0%, 58.4%)
CIE-LABlab(21.14, 40.94, -36.77)
CIE-LCHlch(21.14, 55.02, 318.07°)
OKLaboklab(33.85% 0.0966 -0.104)
OKLCHoklch(33.85% 0.142 312.9)
XYZxyz(6.1775, 3.2826, 13.9411)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50156A #2F6A15
analogous
#26156A #50156A #6A155A
triadic
#50156A #6A5015 #156A50
tetradic
#50156A #6A2615 #2F6A15 #155A6A
square
#50156A #6A2615 #2F6A15 #155A6A
split-complementary
#50156A #5A6A15 #156A26
monochromatic
#13051A #290B37 #50156A #771F9D #9D29D0

Accessibility & contrast

On white

12.68
#50156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#50156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50156A
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50156A#FFFFFF#000000##FFFFFF
##50156A1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#0A3468
Tritanopia (blue-blind)
#4D293F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50156a;
/* rgb */ color: rgb(80, 21, 106);
/* oklch */ color: oklch(33.9% 0.142 312.9);
Tailwind
colors: {
  custom: {
    50: '#855a95',
    500: '#50156a',
    950: '#000000',
  },
}
SCSS
$custom: #50156a;
$custom-light: #855a95;
$custom-dark: #000000;
JSON
{
  "hex": "#50156a",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 281.647,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33852,
    "c": 0.14193,
    "h": 312.9
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#50156A
secondary
#5AA13A
accent
#EA3E73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50156A

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

Preview Lab → · Contrast checker → · Palette generator →

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