#501076#501076

#501076 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.159 H 308.1°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#501076
RGBrgb(80, 16, 118)
HSLhsl(278, 76%, 26%)
HSVhsv(278, 86%, 46%)
CMYKcmyk(32.2%, 86.4%, 0%, 53.7%)
CIE-LABlab(21.52, 45.46, -43.91)
CIE-LCHlch(21.52, 63.20, 315.99°)
OKLaboklab(34.43% 0.0979 -0.1249)
OKLCHoklch(34.43% 0.159 308.1)
XYZxyz(6.7629, 3.3842, 17.4330)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501076 #367610
analogous
#1D1076 #501076 #761069
triadic
#501076 #765010 #107650
tetradic
#501076 #761D10 #367610 #106976
square
#501076 #761D10 #367610 #106976
split-complementary
#501076 #697610 #10761D
monochromatic
#12041B #2B0940 #501076 #7517AC #9920E1

Accessibility & contrast

On white

12.52
#501076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501076
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501076#FFFFFF#000000##FFFFFF
##5010761.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501076;
/* rgb */ color: rgb(80, 16, 118);
/* oklch */ color: oklch(34.4% 0.159 308.1);
Tailwind
colors: {
  custom: {
    50: '#86589e',
    500: '#501076',
    950: '#000000',
  },
}
SCSS
$custom: #501076;
$custom-light: #86589e;
$custom-dark: #000000;
JSON
{
  "hex": "#501076",
  "rgb": {
    "r": 80,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 277.647,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.3443,
    "c": 0.15869,
    "h": 308.1
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#501076
secondary
#62AD35
accent
#F3357C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501076

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

Preview Lab → · Contrast checker → · Palette generator →

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