#501C80#501C80

#501C80 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.157 H 302.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#501C80
RGBrgb(80, 28, 128)
HSLhsl(271, 64%, 31%)
HSVhsv(271, 78%, 50%)
CMYKcmyk(37.5%, 78.1%, 0%, 49.8%)
CIE-LABlab(23.98, 43.25, -46.26)
CIE-LCHlch(23.98, 63.33, 313.07°)
OKLaboklab(36.42% 0.085 -0.1319)
OKLCHoklch(36.42% 0.157 302.8)
XYZxyz(7.6189, 4.0945, 20.8068)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C80 #4C801C
analogous
#1E1C80 #501C80 #801C7E
triadic
#501C80 #80501C #1C8050
tetradic
#501C80 #801E1C #4C801C #1C7E80
square
#501C80 #801E1C #4C801C #1C7E80
split-complementary
#501C80 #7E801C #1C801E
monochromatic
#11061C #31114E #501C80 #6F27B2 #8E41D5

Accessibility & contrast

On white

11.55
#501C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#501C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C80
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C80#FFFFFF#000000##FFFFFF
##501C801.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#46364D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #501c80;
/* rgb */ color: rgb(80, 28, 128);
/* oklch */ color: oklch(36.4% 0.157 302.8);
Tailwind
colors: {
  custom: {
    50: '#865ea6',
    500: '#501c80',
    950: '#000000',
  },
}
SCSS
$custom: #501c80;
$custom-light: #865ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#501c80",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 271.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36419,
    "c": 0.15693,
    "h": 302.8
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#501C80
secondary
#7AB344
accent
#E74191
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501C80

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

Preview Lab → · Contrast checker → · Palette generator →

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