#501D84#501D84

#501D84 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.160 H 301.2°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#501D84
RGBrgb(80, 29, 132)
HSLhsl(270, 64%, 32%)
HSVhsv(270, 78%, 52%)
CMYKcmyk(39.4%, 78%, 0%, 48.2%)
CIE-LABlab(24.48, 43.82, -47.97)
CIE-LCHlch(24.48, 64.97, 312.41°)
OKLaboklab(36.88% 0.083 -0.1369)
OKLCHoklch(36.88% 0.16 301.2)
XYZxyz(7.9115, 4.2501, 22.2289)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D84 #51841D
analogous
#1D1E84 #501D84 #841D84
triadic
#501D84 #84501D #1D8450
tetradic
#501D84 #841D1E #51841D #1D8484
square
#501D84 #841D1E #51841D #1D8484
split-complementary
#501D84 #84841D #1E841D
monochromatic
#130720 #321252 #501D84 #6E28B6 #8D45D6

Accessibility & contrast

On white

11.35
#501D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#501D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D84
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D84#FFFFFF#000000##FFFFFF
##501D841.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#44384F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501d84;
/* rgb */ color: rgb(80, 29, 132);
/* oklch */ color: oklch(36.9% 0.160 301.2);
Tailwind
colors: {
  custom: {
    50: '#865fa9',
    500: '#501d84',
    950: '#000000',
  },
}
SCSS
$custom: #501d84;
$custom-light: #865fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#501d84",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 269.709,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36877,
    "c": 0.16014,
    "h": 301.2
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#501D84
secondary
#7FB746
accent
#E74195
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501D84

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

Preview Lab → · Contrast checker → · Palette generator →

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