#50106D#50106D

#50106D is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.150 H 312.0°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#50106D
RGBrgb(80, 16, 109)
HSLhsl(281, 74%, 25%)
HSVhsv(281, 85%, 43%)
CMYKcmyk(26.6%, 85.3%, 0%, 57.3%)
CIE-LABlab(20.75, 43.43, -39.35)
CIE-LCHlch(20.75, 58.61, 317.83°)
OKLaboklab(33.66% 0.1004 -0.1115)
OKLCHoklch(33.66% 0.15 312)
XYZxyz(6.2534, 3.1804, 14.7495)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50106D #2D6D10
analogous
#21106D #50106D #6D105C
triadic
#50106D #6D5010 #106D50
tetradic
#50106D #6D2110 #2D6D10 #105C6D
square
#50106D #6D2110 #2D6D10 #105C6D
split-complementary
#50106D #5C6D10 #106D21
monochromatic
#14041B #290838 #50106D #7718A2 #9E20D8

Accessibility & contrast

On white

12.84
#50106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#50106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50106D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50106D#FFFFFF#000000##FFFFFF
##50106D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#4C283F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #50106d;
/* rgb */ color: rgb(80, 16, 109);
/* oklch */ color: oklch(33.7% 0.150 312.0);
Tailwind
colors: {
  custom: {
    50: '#855897',
    500: '#50106d',
    950: '#000000',
  },
}
SCSS
$custom: #50106d;
$custom-light: #855897;
$custom-dark: #000000;
JSON
{
  "hex": "#50106d",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 281.29,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33655,
    "c": 0.15005,
    "h": 312
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#50106D
secondary
#57A534
accent
#F13771
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #50106D

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

Preview Lab → · Contrast checker → · Palette generator →

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