#501C79#501C79

#501C79 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.149 H 305.4°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#501C79
RGBrgb(80, 28, 121)
HSLhsl(274, 62%, 29%)
HSVhsv(274, 77%, 47%)
CMYKcmyk(33.9%, 76.9%, 0%, 52.5%)
CIE-LABlab(23.39, 41.51, -42.78)
CIE-LCHlch(23.39, 59.61, 314.13°)
OKLaboklab(35.82% 0.0866 -0.1217)
OKLCHoklch(35.82% 0.149 305.4)
XYZxyz(7.1739, 3.9165, 18.4635)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C79 #45791C
analogous
#211C79 #501C79 #791C74
triadic
#501C79 #79501C #1C7950
tetradic
#501C79 #79211C #45791C #1C7479
square
#501C79 #79211C #45791C #1C7479
split-complementary
#501C79 #74791C #1C7921
monochromatic
#100619 #2F1047 #501C79 #7128AB #913DD2

Accessibility & contrast

On white

11.78
#501C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#501C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C79
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C79#FFFFFF#000000##FFFFFF
##501C791.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#483349
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501c79;
/* rgb */ color: rgb(80, 28, 121);
/* oklch */ color: oklch(35.8% 0.149 305.4);
Tailwind
colors: {
  custom: {
    50: '#855ea0',
    500: '#501c79',
    950: '#000000',
  },
}
SCSS
$custom: #501c79;
$custom-light: #855ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#501c79",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 273.548,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.14935,
    "h": 305.4
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#501C79
secondary
#72AD44
accent
#E5428A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #501C79

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

Preview Lab → · Contrast checker → · Palette generator →

#501C79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva