#501C84#501C84

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

Color values

HEX#501C84
RGBrgb(80, 28, 132)
HSLhsl(270, 65%, 31%)
HSVhsv(270, 79%, 52%)
CMYKcmyk(39.4%, 78.8%, 0%, 48.2%)
CIE-LABlab(24.33, 44.26, -48.22)
CIE-LCHlch(24.33, 65.45, 312.55°)
OKLaboklab(36.77% 0.0839 -0.1377)
OKLCHoklch(36.77% 0.161 301.4)
XYZxyz(7.8874, 4.2019, 22.2208)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C84 #50841C
analogous
#1C1C84 #501C84 #841C84
triadic
#501C84 #84501C #1C8450
tetradic
#501C84 #841C1C #50841C #1C8484
square
#501C84 #841C1C #50841C #1C8484
split-complementary
#501C84 #84841C #1C841C
monochromatic
#13071F #311152 #501C84 #6F27B6 #8D43D7

Accessibility & contrast

On white

11.41
#501C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501C84
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C84#FFFFFF#000000##FFFFFF
##501C841.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#44374F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501c84;
/* rgb */ color: rgb(80, 28, 132);
/* oklch */ color: oklch(36.8% 0.161 301.4);
Tailwind
colors: {
  custom: {
    50: '#875ea9',
    500: '#501c84',
    950: '#000000',
  },
}
SCSS
$custom: #501c84;
$custom-light: #875ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#501c84",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 270,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36769,
    "c": 0.16125,
    "h": 301.4
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#501C84
secondary
#7EB745
accent
#E84094
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C84

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

Preview Lab → · Contrast checker → · Palette generator →

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