#501C85#501C85

#501C85 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.162 H 301.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#501C85
RGBrgb(80, 28, 133)
HSLhsl(270, 65%, 32%)
HSVhsv(270, 79%, 52%)
CMYKcmyk(39.8%, 78.9%, 0%, 47.8%)
CIE-LABlab(24.42, 44.52, -48.70)
CIE-LCHlch(24.42, 65.98, 312.43°)
OKLaboklab(36.86% 0.0837 -0.1391)
OKLCHoklch(36.86% 0.162 301)
XYZxyz(7.9561, 4.2294, 22.5829)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C85 #51851C
analogous
#1C1D85 #501C85 #851C85
triadic
#501C85 #85501C #1C8550
tetradic
#501C85 #851C1D #51851C #1C8585
square
#501C85 #851C1D #51851C #1C8585
split-complementary
#501C85 #85851C #1D851C
monochromatic
#130720 #321152 #501C85 #6E27B8 #8D44D8

Accessibility & contrast

On white

11.38
#501C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501C85
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C85#FFFFFF#000000##FFFFFF
##501C851.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#443850
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501c85;
/* rgb */ color: rgb(80, 28, 133);
/* oklch */ color: oklch(36.9% 0.162 301.0);
Tailwind
colors: {
  custom: {
    50: '#875ea9',
    500: '#501c85',
    950: '#000000',
  },
}
SCSS
$custom: #501c85;
$custom-light: #875ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#501c85",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 269.714,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36858,
    "c": 0.16232,
    "h": 301
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#501C85
secondary
#7FB845
accent
#E84095
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C85

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

Preview Lab → · Contrast checker → · Palette generator →

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