#50156D#50156D

#50156D is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.1% C 0.145 H 311.5°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#50156D
RGBrgb(80, 21, 109)
HSLhsl(280, 68%, 25%)
HSVhsv(280, 81%, 43%)
CMYKcmyk(26.6%, 80.7%, 0%, 57.3%)
CIE-LABlab(21.38, 41.62, -38.33)
CIE-LCHlch(21.38, 56.58, 317.35°)
OKLaboklab(34.1% 0.096 -0.1086)
OKLCHoklch(34.1% 0.145 311.5)
XYZxyz(6.3362, 3.3461, 14.7771)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50156D #326D15
analogous
#24156D #50156D #6D155E
triadic
#50156D #6D5015 #156D50
tetradic
#50156D #6D2415 #326D15 #155E6D
square
#50156D #6D2415 #326D15 #155E6D
split-complementary
#50156D #5E6D15 #156D24
monochromatic
#13051A #2A0B3A #50156D #761FA0 #9B29D4

Accessibility & contrast

On white

12.58
#50156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50156D
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50156D#FFFFFF#000000##FFFFFF
##50156D1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#03346B
Tritanopia (blue-blind)
#4C2A40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #50156d;
/* rgb */ color: rgb(80, 21, 109);
/* oklch */ color: oklch(34.1% 0.145 311.5);
Tailwind
colors: {
  custom: {
    50: '#855a97',
    500: '#50156d',
    950: '#000000',
  },
}
SCSS
$custom: #50156d;
$custom-light: #855a97;
$custom-dark: #000000;
JSON
{
  "hex": "#50156d",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 280.227,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34095,
    "c": 0.14494,
    "h": 311.5
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#50156D
secondary
#5DA33A
accent
#EB3D76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50156D

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

Preview Lab → · Contrast checker → · Palette generator →

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