#501D85#501D85

#501D85 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.161 H 300.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#501D85
RGBrgb(80, 29, 133)
HSLhsl(269, 64%, 32%)
HSVhsv(269, 78%, 52%)
CMYKcmyk(39.8%, 78.2%, 0%, 47.8%)
CIE-LABlab(24.57, 44.08, -48.45)
CIE-LCHlch(24.57, 65.50, 312.29°)
OKLaboklab(36.96% 0.0828 -0.1384)
OKLCHoklch(36.96% 0.161 300.9)
XYZxyz(7.9802, 4.2776, 22.5910)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D85 #52851D
analogous
#1D1E85 #501D85 #841D85
triadic
#501D85 #85501D #1D8550
tetradic
#501D85 #851D1E #52851D #1D8584
square
#501D85 #851D1E #52851D #1D8584
split-complementary
#501D85 #85841D #1E851D
monochromatic
#140721 #321253 #501D85 #6E28B7 #8D46D7

Accessibility & contrast

On white

11.32
#501D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#501D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D85
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D85#FFFFFF#000000##FFFFFF
##501D851.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#443850
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501d85;
/* rgb */ color: rgb(80, 29, 133);
/* oklch */ color: oklch(37.0% 0.161 300.9);
Tailwind
colors: {
  custom: {
    50: '#875fa9',
    500: '#501d85',
    950: '#000000',
  },
}
SCSS
$custom: #501d85;
$custom-light: #875fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#501d85",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 269.423,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36965,
    "c": 0.16124,
    "h": 300.9
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#501D85
secondary
#80B846
accent
#E74196
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501D85

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

Preview Lab → · Contrast checker → · Palette generator →

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