#50104A#50104A

#50104A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.118 H 332.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#50104A
RGBrgb(80, 16, 74)
HSLhsl(306, 67%, 19%)
HSVhsv(306, 80%, 31%)
CMYKcmyk(0%, 80%, 7.5%, 68.6%)
CIE-LABlab(18.24, 36.34, -20.03)
CIE-LCHlch(18.24, 41.49, 331.14°)
OKLaboklab(31.07% 0.1043 -0.0551)
OKLCHoklch(31.07% 0.118 332.2)
XYZxyz(4.7296, 2.5709, 6.7244)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50104A #105016
analogous
#361050 #50104A #50102A
triadic
#50104A #4A5010 #104A50
tetradic
#50104A #503610 #105016 #102A50
square
#50104A #503610 #105016 #102A50
split-complementary
#50104A #2A5010 #105036
monochromatic
#1A0518 #1D061B #50104A #831A79 #B624A8

Accessibility & contrast

On white

13.87
#50104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#50104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50104A
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50104A#FFFFFF#000000##FFFFFF
##50104A1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C274C
Deuteranopia (green-blind)
#253048
Tritanopia (blue-blind)
#54172C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #50104a;
/* rgb */ color: rgb(80, 16, 74);
/* oklch */ color: oklch(31.1% 0.118 332.2);
Tailwind
colors: {
  custom: {
    50: '#84567d',
    500: '#50104a',
    950: '#000000',
  },
}
SCSS
$custom: #50104a;
$custom-light: #84567d;
$custom-dark: #000000;
JSON
{
  "hex": "#50104a",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 305.625,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31072,
    "c": 0.11797,
    "h": 332.2
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#50104A
secondary
#328A3A
accent
#EA4E3E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #50104A

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

Preview Lab → · Contrast checker → · Palette generator →

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