#50105C#50105C

#50105C is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.3% C 0.134 H 320.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#50105C
RGBrgb(80, 16, 92)
HSLhsl(291, 70%, 21%)
HSVhsv(291, 83%, 36%)
CMYKcmyk(13%, 82.6%, 0%, 63.9%)
CIE-LABlab(19.43, 39.80, -30.30)
CIE-LCHlch(19.43, 50.02, 322.72°)
OKLaboklab(32.31% 0.1037 -0.085)
OKLCHoklch(32.31% 0.134 320.7)
XYZxyz(5.4251, 2.8491, 10.3873)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50105C #1C5C10
analogous
#2A105C #50105C #5C1042
triadic
#50105C #5C5010 #105C50
tetradic
#50105C #5C2A10 #1C5C10 #10425C
square
#50105C #5C2A10 #1C5C10 #10425C
split-complementary
#50105C #425C10 #105C2A
monochromatic
#17051A #230728 #50105C #7D1990 #AB22C4

Accessibility & contrast

On white

13.38
#50105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50105C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50105C#FFFFFF#000000##FFFFFF
##50105C1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#19315A
Tritanopia (blue-blind)
#502036
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #50105c;
/* rgb */ color: rgb(80, 16, 92);
/* oklch */ color: oklch(32.3% 0.134 320.7);
Tailwind
colors: {
  custom: {
    50: '#84578b',
    500: '#50105c',
    950: '#000000',
  },
}
SCSS
$custom: #50105c;
$custom-light: #84578b;
$custom-dark: #000000;
JSON
{
  "hex": "#50105c",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 290.526,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32306,
    "c": 0.13403,
    "h": 320.7
  },
  "luminance": 0.02849
}

Semantic roles & 50–950 ramp

primary
#50105C
secondary
#429533
accent
#ED3B57
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #50105C

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

Preview Lab → · Contrast checker → · Palette generator →

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