#501476#501476

#501476 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.155 H 307.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#501476
RGBrgb(80, 20, 118)
HSLhsl(277, 71%, 27%)
HSVhsv(277, 83%, 46%)
CMYKcmyk(32.2%, 83.1%, 0%, 53.7%)
CIE-LABlab(21.99, 44.08, -43.14)
CIE-LCHlch(21.99, 61.68, 315.62°)
OKLaboklab(34.76% 0.0947 -0.1227)
OKLCHoklch(34.76% 0.155 307.7)
XYZxyz(6.8277, 3.5139, 17.4546)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501476 #3A7614
analogous
#1F1476 #501476 #76146B
triadic
#501476 #765014 #147650
tetradic
#501476 #761F14 #3A7614 #146B76
square
#501476 #761F14 #3A7614 #146B76
split-complementary
#501476 #6B7614 #14761F
monochromatic
#12041A #2D0B42 #501476 #731DAA #962ADB

Accessibility & contrast

On white

12.33
#501476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#501476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501476
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501476#FFFFFF#000000##FFFFFF
##5014761.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#003574
Tritanopia (blue-blind)
#4A2E45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501476;
/* rgb */ color: rgb(80, 20, 118);
/* oklch */ color: oklch(34.8% 0.155 307.7);
Tailwind
colors: {
  custom: {
    50: '#865a9e',
    500: '#501476',
    950: '#000000',
  },
}
SCSS
$custom: #501476;
$custom-light: #865a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#501476",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 276.735,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.3476,
    "c": 0.15501,
    "h": 307.7
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#501476
secondary
#66AC3A
accent
#EE3A80
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501476

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

Preview Lab → · Contrast checker → · Palette generator →

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