#501477#501477

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

Color values

HEX#501477
RGBrgb(80, 20, 119)
HSLhsl(276, 71%, 27%)
HSVhsv(276, 83%, 47%)
CMYKcmyk(32.8%, 83.2%, 0%, 53.3%)
CIE-LABlab(22.08, 44.31, -43.64)
CIE-LCHlch(22.08, 62.19, 315.44°)
OKLaboklab(34.85% 0.0945 -0.1242)
OKLCHoklch(34.85% 0.156 307.3)
XYZxyz(6.8875, 3.5378, 17.7692)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501477 #3B7714
analogous
#1F1477 #501477 #77146C
triadic
#501477 #775014 #147750
tetradic
#501477 #771F14 #3B7714 #146C77
square
#501477 #771F14 #3B7714 #146C77
split-complementary
#501477 #6C7714 #14771F
monochromatic
#12041A #2D0B43 #501477 #731DAB #952ADB

Accessibility & contrast

On white

12.30
#501477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501477
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501477#FFFFFF#000000##FFFFFF
##5014771.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#492E46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501477;
/* rgb */ color: rgb(80, 20, 119);
/* oklch */ color: oklch(34.8% 0.156 307.3);
Tailwind
colors: {
  custom: {
    50: '#865a9f',
    500: '#501477',
    950: '#000000',
  },
}
SCSS
$custom: #501477;
$custom-light: #865a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#501477",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 276.364,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34846,
    "c": 0.15601,
    "h": 307.3
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#501477
secondary
#67AD3A
accent
#EE3A81
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #501477

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

Preview Lab → · Contrast checker → · Palette generator →

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