#50105A#50105A

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

Color values

HEX#50105A
RGBrgb(80, 16, 90)
HSLhsl(292, 70%, 21%)
HSVhsv(292, 82%, 35%)
CMYKcmyk(11.1%, 82.2%, 0%, 64.7%)
CIE-LABlab(19.29, 39.40, -29.20)
CIE-LCHlch(19.29, 49.04, 323.46°)
OKLaboklab(32.16% 0.1039 -0.0817)
OKLCHoklch(32.16% 0.132 321.8)
XYZxyz(5.3388, 2.8145, 9.9329)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50105A #1A5A10
analogous
#2B105A #50105A #5A103F
triadic
#50105A #5A5010 #105A50
tetradic
#50105A #5A2B10 #1A5A10 #103F5A
square
#50105A #5A2B10 #1A5A10 #103F5A
split-complementary
#50105A #3F5A10 #105A2B
monochromatic
#17051A #220726 #50105A #7E198E #AC22C2

Accessibility & contrast

On white

13.44
#50105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#50105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50105A
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50105A#FFFFFF#000000##FFFFFF
##50105A1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #50105a;
/* rgb */ color: rgb(80, 16, 90);
/* oklch */ color: oklch(32.2% 0.132 321.8);
Tailwind
colors: {
  custom: {
    50: '#845789',
    500: '#50105a',
    950: '#000000',
  },
}
SCSS
$custom: #50105a;
$custom-light: #845789;
$custom-dark: #000000;
JSON
{
  "hex": "#50105a",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 291.892,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32159,
    "c": 0.13218,
    "h": 321.8
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#50105A
secondary
#409333
accent
#ED3B53
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #50105A

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

Preview Lab → · Contrast checker → · Palette generator →

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