#501D83#501D83

#501D83 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.159 H 301.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#501D83
RGBrgb(80, 29, 131)
HSLhsl(270, 64%, 31%)
HSVhsv(270, 78%, 51%)
CMYKcmyk(38.9%, 77.9%, 0%, 48.6%)
CIE-LABlab(24.40, 43.57, -47.48)
CIE-LCHlch(24.40, 64.44, 312.54°)
OKLaboklab(36.79% 0.0833 -0.1355)
OKLCHoklch(36.79% 0.159 301.6)
XYZxyz(7.8434, 4.2229, 21.8702)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D83 #50831D
analogous
#1D1D83 #501D83 #831D83
triadic
#501D83 #83501D #1D8350
tetradic
#501D83 #831D1D #50831D #1D8383
square
#501D83 #831D1D #50831D #1D8383
split-complementary
#501D83 #83831D #1D831D
monochromatic
#13071F #311251 #501D83 #6F28B5 #8D45D6

Accessibility & contrast

On white

11.38
#501D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#501D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D83
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D83#FFFFFF#000000##FFFFFF
##501D831.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#45374F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501d83;
/* rgb */ color: rgb(80, 29, 131);
/* oklch */ color: oklch(36.8% 0.159 301.6);
Tailwind
colors: {
  custom: {
    50: '#865fa8',
    500: '#501d83',
    950: '#000000',
  },
}
SCSS
$custom: #501d83;
$custom-light: #865fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#501d83",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 270,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36789,
    "c": 0.15906,
    "h": 301.6
  },
  "luminance": 0.04223
}

Semantic roles & 50–950 ramp

primary
#501D83
secondary
#7EB646
accent
#E74194
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501D83

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

Preview Lab → · Contrast checker → · Palette generator →

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