#50156C#50156C

#50156C is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.144 H 312.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#50156C
RGBrgb(80, 21, 108)
HSLhsl(281, 67%, 25%)
HSVhsv(281, 81%, 42%)
CMYKcmyk(25.9%, 80.6%, 0%, 57.6%)
CIE-LABlab(21.30, 41.39, -37.81)
CIE-LCHlch(21.30, 56.06, 317.59°)
OKLaboklab(34.01% 0.0962 -0.107)
OKLCHoklch(34.01% 0.144 312)
XYZxyz(6.2827, 3.3247, 14.4952)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50156C #316C15
analogous
#25156C #50156C #6C155C
triadic
#50156C #6C5015 #156C50
tetradic
#50156C #6C2515 #316C15 #155C6C
square
#50156C #6C2515 #316C15 #155C6C
split-complementary
#50156C #5C6C15 #156C25
monochromatic
#13051A #2A0B39 #50156C #761F9F #9C29D2

Accessibility & contrast

On white

12.61
#50156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#50156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50156C
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50156C#FFFFFF#000000##FFFFFF
##50156C1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#06346A
Tritanopia (blue-blind)
#4D2A40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50156c;
/* rgb */ color: rgb(80, 21, 108);
/* oklch */ color: oklch(34.0% 0.144 312.0);
Tailwind
colors: {
  custom: {
    50: '#855a97',
    500: '#50156c',
    950: '#000000',
  },
}
SCSS
$custom: #50156c;
$custom-light: #855a97;
$custom-dark: #000000;
JSON
{
  "hex": "#50156c",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 280.69,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34014,
    "c": 0.14394,
    "h": 312
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#50156C
secondary
#5CA33A
accent
#EA3D75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50156C

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

Preview Lab → · Contrast checker → · Palette generator →

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