#501C82#501C82

#501C82 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.159 H 302.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#501C82
RGBrgb(80, 28, 130)
HSLhsl(271, 65%, 31%)
HSVhsv(271, 78%, 51%)
CMYKcmyk(38.5%, 78.5%, 0%, 49%)
CIE-LABlab(24.15, 43.76, -47.25)
CIE-LCHlch(24.15, 64.39, 312.80°)
OKLaboklab(36.59% 0.0845 -0.1348)
OKLCHoklch(36.59% 0.159 302.1)
XYZxyz(7.7518, 4.1477, 21.5069)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C82 #4E821C
analogous
#1D1C82 #501C82 #821C81
triadic
#501C82 #82501C #1C8250
tetradic
#501C82 #821D1C #4E821C #1C8182
square
#501C82 #821D1C #4E821C #1C8182
split-complementary
#501C82 #81821C #1C821D
monochromatic
#12061D #311150 #501C82 #6F27B4 #8E42D6

Accessibility & contrast

On white

11.48
#501C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#501C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C82
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C82#FFFFFF#000000##FFFFFF
##501C821.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#45364E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #501c82;
/* rgb */ color: rgb(80, 28, 130);
/* oklch */ color: oklch(36.6% 0.159 302.1);
Tailwind
colors: {
  custom: {
    50: '#865ea7',
    500: '#501c82',
    950: '#000000',
  },
}
SCSS
$custom: #501c82;
$custom-light: #865ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#501c82",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 270.588,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36593,
    "c": 0.15909,
    "h": 302.1
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#501C82
secondary
#7CB544
accent
#E84092
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C82

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

Preview Lab → · Contrast checker → · Palette generator →

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