#501D86#501D86

#501D86 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.162 H 300.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#501D86
RGBrgb(80, 29, 134)
HSLhsl(269, 64%, 32%)
HSVhsv(269, 78%, 53%)
CMYKcmyk(40.3%, 78.4%, 0%, 47.5%)
CIE-LABlab(24.66, 44.33, -48.94)
CIE-LCHlch(24.66, 66.03, 312.17°)
OKLaboklab(37.05% 0.0825 -0.1398)
OKLCHoklch(37.05% 0.162 300.5)
XYZxyz(8.0496, 4.3054, 22.9566)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D86 #53861D
analogous
#1D1F86 #501D86 #851D86
triadic
#501D86 #86501D #1D8650
tetradic
#501D86 #861D1F #53861D #1D8685
square
#501D86 #861D1F #53861D #1D8685
split-complementary
#501D86 #86851D #1F861D
monochromatic
#140721 #321254 #501D86 #6E28B8 #8D46D7

Accessibility & contrast

On white

11.28
#501D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501D86
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D86#FFFFFF#000000##FFFFFF
##501D861.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#443951
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501d86;
/* rgb */ color: rgb(80, 29, 134);
/* oklch */ color: oklch(37.1% 0.162 300.5);
Tailwind
colors: {
  custom: {
    50: '#875faa',
    500: '#501d86',
    950: '#000000',
  },
}
SCSS
$custom: #501d86;
$custom-light: #875faa;
$custom-dark: #000000;
JSON
{
  "hex": "#501d86",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 269.143,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.16232,
    "h": 300.5
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#501D86
secondary
#81B946
accent
#E74096
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501D86

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

Preview Lab → · Contrast checker → · Palette generator →

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