#50176D#50176D

#50176D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.143 H 311.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#50176D
RGBrgb(80, 23, 109)
HSLhsl(280, 65%, 26%)
HSVhsv(280, 79%, 43%)
CMYKcmyk(26.6%, 78.9%, 0%, 57.3%)
CIE-LABlab(21.66, 40.81, -37.87)
CIE-LCHlch(21.66, 55.67, 317.13°)
OKLaboklab(34.29% 0.0941 -0.1072)
OKLCHoklch(34.29% 0.143 311.3)
XYZxyz(6.3745, 3.4226, 14.7899)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50176D #346D17
analogous
#25176D #50176D #6D175F
triadic
#50176D #6D5017 #176D50
tetradic
#50176D #6D2517 #346D17 #175F6D
square
#50176D #6D2517 #346D17 #175F6D
split-complementary
#50176D #5F6D17 #176D25
monochromatic
#130519 #2B0C3A #50176D #7522A0 #9A2CD2

Accessibility & contrast

On white

12.47
#50176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50176D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50176D#FFFFFF#000000##FFFFFF
##50176D1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#07356B
Tritanopia (blue-blind)
#4C2B41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #50176d;
/* rgb */ color: rgb(80, 23, 109);
/* oklch */ color: oklch(34.3% 0.143 311.3);
Tailwind
colors: {
  custom: {
    50: '#855b97',
    500: '#50176d',
    950: '#000000',
  },
}
SCSS
$custom: #50176d;
$custom-light: #855b97;
$custom-dark: #000000;
JSON
{
  "hex": "#50176d",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 279.767,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34294,
    "c": 0.14265,
    "h": 311.3
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#50176D
secondary
#5FA33D
accent
#E84078
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50176D

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

Preview Lab → · Contrast checker → · Palette generator →

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