#50106A#50106A

#50106A is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.4% C 0.147 H 313.4°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#50106A
RGBrgb(80, 16, 106)
HSLhsl(283, 74%, 24%)
HSVhsv(283, 85%, 42%)
CMYKcmyk(24.5%, 84.9%, 0%, 58.4%)
CIE-LABlab(20.51, 42.77, -37.80)
CIE-LCHlch(20.51, 57.08, 318.54°)
OKLaboklab(33.41% 0.1011 -0.107)
OKLCHoklch(33.41% 0.147 313.4)
XYZxyz(6.0946, 3.1169, 13.9134)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50106A #2A6A10
analogous
#23106A #50106A #6A1057
triadic
#50106A #6A5010 #106A50
tetradic
#50106A #6A2310 #2A6A10 #10576A
square
#50106A #6A2310 #2A6A10 #10576A
split-complementary
#50106A #576A10 #106A23
monochromatic
#14041B #280835 #50106A #78189F #A020D4

Accessibility & contrast

On white

12.94
#50106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#50106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50106A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50106A#FFFFFF#000000##FFFFFF
##50106A1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#043368
Tritanopia (blue-blind)
#4D263E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #50106a;
/* rgb */ color: rgb(80, 16, 106);
/* oklch */ color: oklch(33.4% 0.147 313.4);
Tailwind
colors: {
  custom: {
    50: '#855895',
    500: '#50106a',
    950: '#000000',
  },
}
SCSS
$custom: #50106a;
$custom-light: #855895;
$custom-dark: #000000;
JSON
{
  "hex": "#50106a",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 282.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33405,
    "c": 0.14719,
    "h": 313.4
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#50106A
secondary
#54A234
accent
#F0376D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50106A

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

Preview Lab → · Contrast checker → · Palette generator →

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