#501577#501577

#501577 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.155 H 307.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#501577
RGBrgb(80, 21, 119)
HSLhsl(276, 70%, 27%)
HSVhsv(276, 82%, 47%)
CMYKcmyk(32.8%, 82.4%, 0%, 53.3%)
CIE-LABlab(22.21, 43.94, -43.43)
CIE-LCHlch(22.21, 61.78, 315.34°)
OKLaboklab(34.94% 0.0936 -0.1235)
OKLCHoklch(34.94% 0.155 307.2)
XYZxyz(6.9055, 3.5738, 17.7752)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501577 #3C7715
analogous
#1F1577 #501577 #77156D
triadic
#501577 #775015 #157750
tetradic
#501577 #771F15 #3C7715 #156D77
square
#501577 #771F15 #3C7715 #156D77
split-complementary
#501577 #6D7715 #15771F
monochromatic
#11051A #2D0C43 #501577 #731EAB #952DDA

Accessibility & contrast

On white

12.25
#501577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501577
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501577#FFFFFF#000000##FFFFFF
##5015771.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501577;
/* rgb */ color: rgb(80, 21, 119);
/* oklch */ color: oklch(34.9% 0.155 307.2);
Tailwind
colors: {
  custom: {
    50: '#865a9f',
    500: '#501577',
    950: '#000000',
  },
}
SCSS
$custom: #501577;
$custom-light: #865a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#501577",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 276.122,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34936,
    "c": 0.15501,
    "h": 307.2
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#501577
secondary
#68AD3B
accent
#ED3B82
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #501577

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

Preview Lab → · Contrast checker → · Palette generator →

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