#50176B#50176B

#50176B is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.141 H 312.2°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#50176B
RGBrgb(80, 23, 107)
HSLhsl(281, 65%, 25%)
HSVhsv(281, 79%, 42%)
CMYKcmyk(25.2%, 78.5%, 0%, 58%)
CIE-LABlab(21.51, 40.34, -36.83)
CIE-LCHlch(21.51, 54.63, 317.61°)
OKLaboklab(34.13% 0.0944 -0.1042)
OKLCHoklch(34.13% 0.141 312.2)
XYZxyz(6.2680, 3.3800, 14.2293)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50176B #326B17
analogous
#26176B #50176B #6B175C
triadic
#50176B #6B5017 #176B50
tetradic
#50176B #6B2617 #326B17 #175C6B
square
#50176B #6B2617 #326B17 #175C6B
split-complementary
#50176B #5C6B17 #176B26
monochromatic
#130519 #2A0C39 #50176B #76229D #9B2DD0

Accessibility & contrast

On white

12.53
#50176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #50176B
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50176B#FFFFFF#000000##FFFFFF
##50176B1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#0B3569
Tritanopia (blue-blind)
#4D2A40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #50176b;
/* rgb */ color: rgb(80, 23, 107);
/* oklch */ color: oklch(34.1% 0.141 312.2);
Tailwind
colors: {
  custom: {
    50: '#855b96',
    500: '#50176b',
    950: '#000000',
  },
}
SCSS
$custom: #50176b;
$custom-light: #855b96;
$custom-dark: #000000;
JSON
{
  "hex": "#50176b",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 280.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34134,
    "c": 0.14061,
    "h": 312.2
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#50176B
secondary
#5DA13D
accent
#E84076
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #50176B

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

Preview Lab → · Contrast checker → · Palette generator →

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