#50105B#50105B

#50105B is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.133 H 321.2°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#50105B
RGBrgb(80, 16, 91)
HSLhsl(291, 70%, 21%)
HSVhsv(291, 82%, 36%)
CMYKcmyk(12.1%, 82.4%, 0%, 64.3%)
CIE-LABlab(19.36, 39.60, -29.75)
CIE-LCHlch(19.36, 49.53, 323.08°)
OKLaboklab(32.23% 0.1038 -0.0833)
OKLCHoklch(32.23% 0.133 321.2)
XYZxyz(5.3817, 2.8317, 10.1586)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50105B #1B5B10
analogous
#2A105B #50105B #5B1040
triadic
#50105B #5B5010 #105B50
tetradic
#50105B #5B2A10 #1B5B10 #10405B
square
#50105B #5B2A10 #1B5B10 #10405B
split-complementary
#50105B #405B10 #105B2A
monochromatic
#17051A #220727 #50105B #7E198F #AC22C3

Accessibility & contrast

On white

13.41
#50105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#50105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50105B
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50105B#FFFFFF#000000##FFFFFF
##50105B1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#1A3159
Tritanopia (blue-blind)
#511F35
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50105b;
/* rgb */ color: rgb(80, 16, 91);
/* oklch */ color: oklch(32.2% 0.133 321.2);
Tailwind
colors: {
  custom: {
    50: '#84578a',
    500: '#50105b',
    950: '#000000',
  },
}
SCSS
$custom: #50105b;
$custom-light: #84578a;
$custom-dark: #000000;
JSON
{
  "hex": "#50105b",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 291.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32232,
    "c": 0.1331,
    "h": 321.2
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#50105B
secondary
#419433
accent
#ED3B55
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #50105B

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

Preview Lab → · Contrast checker → · Palette generator →

#50105B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva