#50104C#50104C

#50104C is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.120 H 330.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#50104C
RGBrgb(80, 16, 76)
HSLhsl(304, 67%, 19%)
HSVhsv(304, 80%, 31%)
CMYKcmyk(0%, 80%, 5%, 68.6%)
CIE-LABlab(18.36, 36.70, -21.21)
CIE-LCHlch(18.36, 42.39, 329.98°)
OKLaboklab(31.2% 0.1044 -0.0585)
OKLCHoklch(31.2% 0.12 330.8)
XYZxyz(4.7981, 2.5982, 7.0849)
Luminance0.0260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50104C #105014
analogous
#341050 #50104C #50102C
triadic
#50104C #4C5010 #104C50
tetradic
#50104C #503410 #105014 #102C50
square
#50104C #503410 #105014 #102C50
split-complementary
#50104C #2C5010 #105034
monochromatic
#1A0518 #1D061C #50104C #831A7C #B624AD

Accessibility & contrast

On white

13.82
#50104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50104C
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50104C#FFFFFF#000000##FFFFFF
##50104C1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09274E
Deuteranopia (green-blind)
#24304A
Tritanopia (blue-blind)
#53182D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #50104c;
/* rgb */ color: rgb(80, 16, 76);
/* oklch */ color: oklch(31.2% 0.120 330.8);
Tailwind
colors: {
  custom: {
    50: '#84567e',
    500: '#50104c',
    950: '#000000',
  },
}
SCSS
$custom: #50104c;
$custom-light: #84567e;
$custom-dark: #000000;
JSON
{
  "hex": "#50104c",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 303.75,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31198,
    "c": 0.11967,
    "h": 330.8
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#50104C
secondary
#328A38
accent
#EA493E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #50104C

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

Preview Lab → · Contrast checker → · Palette generator →

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