#50116C#50116C

#50116C is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.148 H 312.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#50116C
RGBrgb(80, 17, 108)
HSLhsl(282, 73%, 25%)
HSVhsv(282, 84%, 42%)
CMYKcmyk(25.9%, 84.3%, 0%, 57.6%)
CIE-LABlab(20.79, 42.87, -38.64)
CIE-LCHlch(20.79, 57.72, 317.97°)
OKLaboklab(33.65% 0.0998 -0.1095)
OKLCHoklch(33.65% 0.148 312.4)
XYZxyz(6.2150, 3.1893, 14.4726)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50116C #2D6C11
analogous
#22116C #50116C #6C115B
triadic
#50116C #6C5011 #116C50
tetradic
#50116C #6C2211 #2D6C11 #115B6C
square
#50116C #6C2211 #2D6C11 #115B6C
split-complementary
#50116C #5B6C11 #116C22
monochromatic
#14041A #290937 #50116C #7719A1 #9E22D6

Accessibility & contrast

On white

12.82
#50116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#50116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50116C
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50116C#FFFFFF#000000##FFFFFF
##50116C1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#4D283F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50116c;
/* rgb */ color: rgb(80, 17, 108);
/* oklch */ color: oklch(33.7% 0.148 312.4);
Tailwind
colors: {
  custom: {
    50: '#855897',
    500: '#50116c',
    950: '#000000',
  },
}
SCSS
$custom: #50116c;
$custom-light: #855897;
$custom-dark: #000000;
JSON
{
  "hex": "#50116c",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 281.538,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33653,
    "c": 0.14814,
    "h": 312.4
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#50116C
secondary
#57A435
accent
#EF3871
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50116C

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

Preview Lab → · Contrast checker → · Palette generator →

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