#501D80#501D80

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

Color values

HEX#501D80
RGBrgb(80, 29, 128)
HSLhsl(271, 63%, 31%)
HSVhsv(271, 77%, 50%)
CMYKcmyk(37.5%, 77.3%, 0%, 49.8%)
CIE-LABlab(24.14, 42.81, -46.01)
CIE-LCHlch(24.14, 62.84, 312.93°)
OKLaboklab(36.53% 0.084 -0.1312)
OKLCHoklch(36.53% 0.156 302.6)
XYZxyz(7.6430, 4.1427, 20.8149)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D80 #4D801D
analogous
#1E1D80 #501D80 #801D7E
triadic
#501D80 #80501D #1D8050
tetradic
#501D80 #801E1D #4D801D #1D7E80
square
#501D80 #801E1D #4D801D #1D7E80
split-complementary
#501D80 #7E801D #1D801E
monochromatic
#12061C #31124E #501D80 #6F28B2 #8E43D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##501D80#FFFFFF#000000##FFFFFF
##501D801.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)
#003983
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#46364D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #501d80;
/* rgb */ color: rgb(80, 29, 128);
/* oklch */ color: oklch(36.5% 0.156 302.6);
Tailwind
colors: {
  custom: {
    50: '#865fa6',
    500: '#501d80',
    950: '#000000',
  },
}
SCSS
$custom: #501d80;
$custom-light: #865fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#501d80",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 270.909,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36529,
    "c": 0.15578,
    "h": 302.6
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#501D80
secondary
#7BB345
accent
#E64291
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501D80

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

Preview Lab → · Contrast checker → · Palette generator →

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