#501E80#501E80

#501E80 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.155 H 302.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#501E80
RGBrgb(80, 30, 128)
HSLhsl(271, 62%, 31%)
HSVhsv(271, 77%, 50%)
CMYKcmyk(37.5%, 76.6%, 0%, 49.8%)
CIE-LABlab(24.30, 42.35, -45.75)
CIE-LCHlch(24.30, 62.34, 312.79°)
OKLaboklab(36.64% 0.083 -0.1304)
OKLCHoklch(36.64% 0.155 302.5)
XYZxyz(7.6679, 4.1925, 20.8232)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E80 #4E801E
analogous
#1F1E80 #501E80 #801E7F
triadic
#501E80 #80501E #1E8050
tetradic
#501E80 #801F1E #4E801E #1E7F80
square
#501E80 #801F1E #4E801E #1E7F80
split-complementary
#501E80 #7F801E #1E801F
monochromatic
#12071D #31124E #501E80 #6F2AB2 #8E45D3

Accessibility & contrast

On white

11.42
#501E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501E80
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E80#FFFFFF#000000##FFFFFF
##501E801.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#46374D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501e80;
/* rgb */ color: rgb(80, 30, 128);
/* oklch */ color: oklch(36.6% 0.155 302.5);
Tailwind
colors: {
  custom: {
    50: '#865fa6',
    500: '#501e80',
    950: '#000000',
  },
}
SCSS
$custom: #501e80;
$custom-light: #865fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#501e80",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 270.612,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36641,
    "c": 0.15462,
    "h": 302.5
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#501E80
secondary
#7CB347
accent
#E54392
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501E80

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

Preview Lab → · Contrast checker → · Palette generator →

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