#50177B#50177B

#50177B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.157 H 305.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#50177B
RGBrgb(80, 23, 123)
HSLhsl(274, 68%, 29%)
HSVhsv(274, 81%, 48%)
CMYKcmyk(35%, 81.3%, 0%, 51.8%)
CIE-LABlab(22.82, 44.12, -44.98)
CIE-LCHlch(22.82, 63.01, 314.44°)
OKLaboklab(35.47% 0.0908 -0.1281)
OKLCHoklch(35.47% 0.157 305.3)
XYZxyz(7.1890, 3.7484, 19.0798)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50177B #427B17
analogous
#1E177B #50177B #7B1774
triadic
#50177B #7B5017 #177B50
tetradic
#50177B #7B1E17 #427B17 #17747B
square
#50177B #7B1E17 #427B17 #17747B
split-complementary
#50177B #747B17 #177B1E
monochromatic
#11051A #2E0D47 #50177B #7221AF #9233D9

Accessibility & contrast

On white

12.00
#50177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#50177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50177B
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50177B#FFFFFF#000000##FFFFFF
##50177B1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#483149
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #50177b;
/* rgb */ color: rgb(80, 23, 123);
/* oklch */ color: oklch(35.5% 0.157 305.3);
Tailwind
colors: {
  custom: {
    50: '#865ca2',
    500: '#50177b',
    950: '#000000',
  },
}
SCSS
$custom: #50177b;
$custom-light: #865ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#50177b",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 274.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35471,
    "c": 0.15706,
    "h": 305.3
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#50177B
secondary
#6FB03E
accent
#EB3C88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50177B

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

Preview Lab → · Contrast checker → · Palette generator →

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