#501C86#501C86

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

Color values

HEX#501C86
RGBrgb(80, 28, 134)
HSLhsl(269, 65%, 32%)
HSVhsv(269, 79%, 53%)
CMYKcmyk(40.3%, 79.1%, 0%, 47.5%)
CIE-LABlab(24.50, 44.77, -49.19)
CIE-LCHlch(24.50, 66.51, 312.31°)
OKLaboklab(36.95% 0.0834 -0.1405)
OKLCHoklch(36.95% 0.163 300.7)
XYZxyz(8.0255, 4.2571, 22.9485)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C86 #52861C
analogous
#1C1D86 #501C86 #851C86
triadic
#501C86 #86501C #1C8650
tetradic
#501C86 #861C1D #52861C #1C8685
square
#501C86 #861C1D #52861C #1C8685
split-complementary
#501C86 #86851C #1D861C
monochromatic
#140721 #321153 #501C86 #6E27B9 #8D44D8

Accessibility & contrast

On white

11.34
#501C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501C86
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C86#FFFFFF#000000##FFFFFF
##501C861.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501c86;
/* rgb */ color: rgb(80, 28, 134);
/* oklch */ color: oklch(36.9% 0.163 300.7);
Tailwind
colors: {
  custom: {
    50: '#875faa',
    500: '#501c86',
    950: '#000000',
  },
}
SCSS
$custom: #501c86;
$custom-light: #875faa;
$custom-dark: #000000;
JSON
{
  "hex": "#501c86",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 269.434,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36947,
    "c": 0.1634,
    "h": 300.7
  },
  "luminance": 0.04257
}

Semantic roles & 50–950 ramp

primary
#501C86
secondary
#80B945
accent
#E83F95
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C86

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

Preview Lab → · Contrast checker → · Palette generator →

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