#50116A#50116A

#50116A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.5% C 0.146 H 313.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#50116A
RGBrgb(80, 17, 106)
HSLhsl(282, 72%, 24%)
HSVhsv(282, 84%, 42%)
CMYKcmyk(24.5%, 84%, 0%, 58.4%)
CIE-LABlab(20.62, 42.43, -37.60)
CIE-LCHlch(20.62, 56.70, 318.45°)
OKLaboklab(33.49% 0.1003 -0.1064)
OKLCHoklch(33.49% 0.146 313.3)
XYZxyz(6.1098, 3.1472, 13.9185)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50116A #2B6A11
analogous
#24116A #50116A #6A1158
triadic
#50116A #6A5011 #116A50
tetradic
#50116A #6A2411 #2B6A11 #11586A
square
#50116A #6A2411 #2B6A11 #11586A
split-complementary
#50116A #586A11 #116A24
monochromatic
#14041A #280935 #50116A #78199F #A022D3

Accessibility & contrast

On white

12.89
#50116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#50116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50116A
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50116A#FFFFFF#000000##FFFFFF
##50116A1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#053368
Tritanopia (blue-blind)
#4D273E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50116a;
/* rgb */ color: rgb(80, 17, 106);
/* oklch */ color: oklch(33.5% 0.146 313.3);
Tailwind
colors: {
  custom: {
    50: '#855895',
    500: '#50116a',
    950: '#000000',
  },
}
SCSS
$custom: #50116a;
$custom-light: #855895;
$custom-dark: #000000;
JSON
{
  "hex": "#50116a",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 282.472,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33488,
    "c": 0.14622,
    "h": 313.3
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#50116A
secondary
#55A235
accent
#EF396E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50116A

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

Preview Lab → · Contrast checker → · Palette generator →

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