#501C87#501C87

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

Color values

HEX#501C87
RGBrgb(80, 28, 135)
HSLhsl(269, 66%, 32%)
HSVhsv(269, 79%, 53%)
CMYKcmyk(40.7%, 79.3%, 0%, 47.1%)
CIE-LABlab(24.59, 45.02, -49.67)
CIE-LCHlch(24.59, 67.04, 312.19°)
OKLaboklab(37.04% 0.0831 -0.1419)
OKLCHoklch(37.04% 0.164 300.4)
XYZxyz(8.0956, 4.2852, 23.3176)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C87 #53871C
analogous
#1C1E87 #501C87 #861C87
triadic
#501C87 #87501C #1C8750
tetradic
#501C87 #871C1E #53871C #1C8786
square
#501C87 #871C1E #53871C #1C8786
split-complementary
#501C87 #87861C #1E871C
monochromatic
#140722 #321154 #501C87 #6E27BA #8D45D8

Accessibility & contrast

On white

11.31
#501C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501C87
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C87#FFFFFF#000000##FFFFFF
##501C871.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#433951
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501c87;
/* rgb */ color: rgb(80, 28, 135);
/* oklch */ color: oklch(37.0% 0.164 300.4);
Tailwind
colors: {
  custom: {
    50: '#875fab',
    500: '#501c87',
    950: '#000000',
  },
}
SCSS
$custom: #501c87;
$custom-light: #875fab;
$custom-dark: #000000;
JSON
{
  "hex": "#501c87",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 269.159,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.16448,
    "h": 300.4
  },
  "luminance": 0.04285
}

Semantic roles & 50–950 ramp

primary
#501C87
secondary
#81BA45
accent
#E93F96
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C87

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

Preview Lab → · Contrast checker → · Palette generator →

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