#501176#501176

#501176 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.158 H 308.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#501176
RGBrgb(80, 17, 118)
HSLhsl(277, 75%, 26%)
HSVhsv(277, 86%, 46%)
CMYKcmyk(32.2%, 85.6%, 0%, 53.7%)
CIE-LABlab(21.63, 45.13, -43.73)
CIE-LCHlch(21.63, 62.84, 315.91°)
OKLaboklab(34.51% 0.0971 -0.1244)
OKLCHoklch(34.51% 0.158 308)
XYZxyz(6.7780, 3.4145, 17.4380)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501176 #377611
analogous
#1E1176 #501176 #76116A
triadic
#501176 #765011 #117650
tetradic
#501176 #761E11 #377611 #116A76
square
#501176 #761E11 #377611 #116A76
split-complementary
#501176 #6A7611 #11761E
monochromatic
#12041B #2C0941 #501176 #7419AB #9822DF

Accessibility & contrast

On white

12.48
#501176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#501176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501176
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501176#FFFFFF#000000##FFFFFF
##5011761.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#4A2C45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501176;
/* rgb */ color: rgb(80, 17, 118);
/* oklch */ color: oklch(34.5% 0.158 308.0);
Tailwind
colors: {
  custom: {
    50: '#86599e',
    500: '#501176',
    950: '#000000',
  },
}
SCSS
$custom: #501176;
$custom-light: #86599e;
$custom-dark: #000000;
JSON
{
  "hex": "#501176",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 118
  },
  "hsl": {
    "h": 277.426,
    "s": 74.815,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34508,
    "c": 0.15783,
    "h": 308
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#501176
secondary
#63AD36
accent
#F1367D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501176

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

Preview Lab → · Contrast checker → · Palette generator →

#501176 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva