#501C72#501C72

#501C72 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.142 H 308.3°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#501C72
RGBrgb(80, 28, 114)
HSLhsl(276, 61%, 28%)
HSVhsv(276, 75%, 45%)
CMYKcmyk(29.8%, 75.4%, 0%, 55.3%)
CIE-LABlab(22.83, 39.79, -39.21)
CIE-LCHlch(22.83, 55.86, 315.42°)
OKLaboklab(35.24% 0.0879 -0.1112)
OKLCHoklch(35.24% 0.142 308.3)
XYZxyz(6.7602, 3.7510, 16.2842)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C72 #3E721C
analogous
#251C72 #501C72 #721C69
triadic
#501C72 #72501C #1C7250
tetradic
#501C72 #72251C #3E721C #1C6972
square
#501C72 #72251C #3E721C #1C6972
split-complementary
#501C72 #69721C #1C7225
monochromatic
#110619 #2E1041 #501C72 #7228A3 #943ACF

Accessibility & contrast

On white

12.00
#501C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#501C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C72
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C72#FFFFFF#000000##FFFFFF
##501C721.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#4B3045
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501c72;
/* rgb */ color: rgb(80, 28, 114);
/* oklch */ color: oklch(35.2% 0.142 308.3);
Tailwind
colors: {
  custom: {
    50: '#855d9b',
    500: '#501c72',
    950: '#000000',
  },
}
SCSS
$custom: #501c72;
$custom-light: #855d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#501c72",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 276.279,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35245,
    "c": 0.14177,
    "h": 308.3
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#501C72
secondary
#6BA643
accent
#E44483
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501C72

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

Preview Lab → · Contrast checker → · Palette generator →

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