#501576#501576

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

Color values

HEX#501576
RGBrgb(80, 21, 118)
HSLhsl(276, 70%, 27%)
HSVhsv(276, 82%, 46%)
CMYKcmyk(32.2%, 82.2%, 0%, 53.7%)
CIE-LABlab(22.12, 43.70, -42.93)
CIE-LCHlch(22.12, 61.26, 315.51°)
OKLaboklab(34.85% 0.0939 -0.1221)
OKLCHoklch(34.85% 0.154 307.6)
XYZxyz(6.8457, 3.5499, 17.4606)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501576 #3B7615
analogous
#201576 #501576 #76156C
triadic
#501576 #765015 #157650
tetradic
#501576 #762015 #3B7615 #156C76
square
#501576 #762015 #3B7615 #156C76
split-complementary
#501576 #6C7615 #157620
monochromatic
#12051A #2D0C42 #501576 #731EAA #952CD9

Accessibility & contrast

On white

12.28
#501576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#501576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501576
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501576#FFFFFF#000000##FFFFFF
##5015761.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501576;
/* rgb */ color: rgb(80, 21, 118);
/* oklch */ color: oklch(34.8% 0.154 307.6);
Tailwind
colors: {
  custom: {
    50: '#865a9e',
    500: '#501576',
    950: '#000000',
  },
}
SCSS
$custom: #501576;
$custom-light: #865a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#501576",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 276.495,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3485,
    "c": 0.15401,
    "h": 307.6
  },
  "luminance": 0.0355
}

Semantic roles & 50–950 ramp

primary
#501576
secondary
#67AC3B
accent
#ED3B81
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #501576

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

Preview Lab → · Contrast checker → · Palette generator →

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