#50176C#50176C

#50176C is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.142 H 311.7°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#50176C
RGBrgb(80, 23, 108)
HSLhsl(280, 65%, 26%)
HSVhsv(280, 79%, 42%)
CMYKcmyk(25.9%, 78.7%, 0%, 57.6%)
CIE-LABlab(21.58, 40.58, -37.35)
CIE-LCHlch(21.58, 55.15, 317.37°)
OKLaboklab(34.21% 0.0943 -0.1057)
OKLCHoklch(34.21% 0.142 311.7)
XYZxyz(6.3209, 3.4011, 14.5080)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50176C #336C17
analogous
#25176C #50176C #6C175D
triadic
#50176C #6C5017 #176C50
tetradic
#50176C #6C2517 #336C17 #175D6C
square
#50176C #6C2517 #336C17 #175D6C
split-complementary
#50176C #5D6C17 #176C25
monochromatic
#130519 #2B0C3A #50176C #75229E #9B2CD1

Accessibility & contrast

On white

12.50
#50176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#50176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50176C
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50176C#FFFFFF#000000##FFFFFF
##50176C1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#09356A
Tritanopia (blue-blind)
#4D2B40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #50176c;
/* rgb */ color: rgb(80, 23, 108);
/* oklch */ color: oklch(34.2% 0.142 311.7);
Tailwind
colors: {
  custom: {
    50: '#855b97',
    500: '#50176c',
    950: '#000000',
  },
}
SCSS
$custom: #50176c;
$custom-light: #855b97;
$custom-dark: #000000;
JSON
{
  "hex": "#50176c",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 280.235,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34214,
    "c": 0.14163,
    "h": 311.7
  },
  "luminance": 0.03401
}

Semantic roles & 50–950 ramp

primary
#50176C
secondary
#5EA23D
accent
#E84077
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50176C

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

Preview Lab → · Contrast checker → · Palette generator →

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