#50105F#50105F

#50105F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.137 H 319.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#50105F
RGBrgb(80, 16, 95)
HSLhsl(289, 71%, 22%)
HSVhsv(289, 83%, 37%)
CMYKcmyk(15.8%, 83.2%, 0%, 62.7%)
CIE-LABlab(19.65, 40.42, -31.94)
CIE-LCHlch(19.65, 51.52, 321.68°)
OKLaboklab(32.53% 0.1033 -0.0898)
OKLCHoklch(32.53% 0.137 319)
XYZxyz(5.5588, 2.9026, 11.0917)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50105F #1F5F10
analogous
#29105F #50105F #5F1047
triadic
#50105F #5F5010 #105F50
tetradic
#50105F #5F2910 #1F5F10 #10475F
square
#50105F #5F2910 #1F5F10 #10475F
split-complementary
#50105F #475F10 #105F29
monochromatic
#16041A #24072B #50105F #7C1993 #A822C8

Accessibility & contrast

On white

13.29
#50105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#50105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50105F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50105F#FFFFFF#000000##FFFFFF
##50105F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#16325D
Tritanopia (blue-blind)
#502137
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #50105f;
/* rgb */ color: rgb(80, 16, 95);
/* oklch */ color: oklch(32.5% 0.137 319.0);
Tailwind
colors: {
  custom: {
    50: '#84578d',
    500: '#50105f',
    950: '#000000',
  },
}
SCSS
$custom: #50105f;
$custom-light: #84578d;
$custom-dark: #000000;
JSON
{
  "hex": "#50105f",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 288.608,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32532,
    "c": 0.13682,
    "h": 319
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#50105F
secondary
#469833
accent
#EE3A5C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #50105F

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

Preview Lab → · Contrast checker → · Palette generator →

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