#50177D#50177D

#50177D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.159 H 304.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#50177D
RGBrgb(80, 23, 125)
HSLhsl(274, 69%, 29%)
HSVhsv(274, 82%, 49%)
CMYKcmyk(36%, 81.6%, 0%, 51%)
CIE-LABlab(23.00, 44.60, -45.97)
CIE-LCHlch(23.00, 64.05, 314.13°)
OKLaboklab(35.65% 0.0903 -0.131)
OKLCHoklch(35.65% 0.159 304.6)
XYZxyz(7.3155, 3.7990, 19.7459)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50177D #447D17
analogous
#1D177D #50177D #7D1777
triadic
#50177D #7D5017 #177D50
tetradic
#50177D #7D1D17 #447D17 #17777D
square
#50177D #7D1D17 #447D17 #17777D
split-complementary
#50177D #777D17 #177D1D
monochromatic
#11051A #2F0D49 #50177D #7121B1 #9135DA

Accessibility & contrast

On white

11.93
#50177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#50177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50177D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50177D#FFFFFF#000000##FFFFFF
##50177D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#47324A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #50177d;
/* rgb */ color: rgb(80, 23, 125);
/* oklch */ color: oklch(35.6% 0.159 304.6);
Tailwind
colors: {
  custom: {
    50: '#865ca3',
    500: '#50177d',
    950: '#000000',
  },
}
SCSS
$custom: #50177d;
$custom-light: #865ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#50177d",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 273.529,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35647,
    "c": 0.15912,
    "h": 304.6
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#50177D
secondary
#71B23E
accent
#EC3C8A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #50177D

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

Preview Lab → · Contrast checker → · Palette generator →

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