#50156B#50156B

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

Color values

HEX#50156B
RGBrgb(80, 21, 107)
HSLhsl(281, 67%, 25%)
HSVhsv(281, 80%, 42%)
CMYKcmyk(25.2%, 80.4%, 0%, 58%)
CIE-LABlab(21.22, 41.16, -37.29)
CIE-LCHlch(21.22, 55.54, 317.83°)
OKLaboklab(33.93% 0.0964 -0.1055)
OKLCHoklch(33.93% 0.143 312.4)
XYZxyz(6.2298, 3.3035, 14.2165)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50156B #306B15
analogous
#25156B #50156B #6B155B
triadic
#50156B #6B5015 #156B50
tetradic
#50156B #6B2515 #306B15 #155B6B
square
#50156B #6B2515 #306B15 #155B6B
split-complementary
#50156B #5B6B15 #156B25
monochromatic
#13051A #2A0B38 #50156B #761F9E #9D29D1

Accessibility & contrast

On white

12.65
#50156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50156B
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50156B#FFFFFF#000000##FFFFFF
##50156B1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#083469
Tritanopia (blue-blind)
#4D293F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50156b;
/* rgb */ color: rgb(80, 21, 107);
/* oklch */ color: oklch(33.9% 0.143 312.4);
Tailwind
colors: {
  custom: {
    50: '#855a96',
    500: '#50156b',
    950: '#000000',
  },
}
SCSS
$custom: #50156b;
$custom-light: #855a96;
$custom-dark: #000000;
JSON
{
  "hex": "#50156b",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 281.163,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33933,
    "c": 0.14294,
    "h": 312.4
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#50156B
secondary
#5BA23A
accent
#EA3E74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50156B

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

Preview Lab → · Contrast checker → · Palette generator →

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