#50104D#50104D

#50104D is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.121 H 330.1°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#50104D
RGBrgb(80, 16, 77)
HSLhsl(303, 67%, 19%)
HSVhsv(303, 80%, 31%)
CMYKcmyk(0%, 80%, 3.7%, 68.6%)
CIE-LABlab(18.42, 36.88, -21.79)
CIE-LCHlch(18.42, 42.84, 329.42°)
OKLaboklab(31.26% 0.1045 -0.0602)
OKLCHoklch(31.26% 0.121 330.1)
XYZxyz(4.8331, 2.6123, 7.2694)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50104D #105013
analogous
#331050 #50104D #50102D
triadic
#50104D #4D5010 #104D50
tetradic
#50104D #503310 #105013 #102D50
square
#50104D #503310 #105013 #102D50
split-complementary
#50104D #2D5010 #105033
monochromatic
#1A0519 #1D061C #50104D #831A7E #B624AF

Accessibility & contrast

On white

13.79
#50104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#50104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50104D
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50104D#FFFFFF#000000##FFFFFF
##50104D1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08274F
Deuteranopia (green-blind)
#23304B
Tritanopia (blue-blind)
#53192D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50104d;
/* rgb */ color: rgb(80, 16, 77);
/* oklch */ color: oklch(31.3% 0.121 330.1);
Tailwind
colors: {
  custom: {
    50: '#84567f',
    500: '#50104d',
    950: '#000000',
  },
}
SCSS
$custom: #50104d;
$custom-light: #84567f;
$custom-dark: #000000;
JSON
{
  "hex": "#50104d",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 302.813,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31263,
    "c": 0.12054,
    "h": 330.1
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#50104D
secondary
#328A36
accent
#EA463E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #50104D

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

Preview Lab → · Contrast checker → · Palette generator →

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