#501D4F#501D4F

#501D4F is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.9% C 0.103 H 328.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#501D4F
RGBrgb(80, 29, 79)
HSLhsl(301, 47%, 21%)
HSVhsv(301, 64%, 31%)
CMYKcmyk(0%, 63.7%, 1.2%, 68.6%)
CIE-LABlab(20.63, 31.42, -19.66)
CIE-LCHlch(20.63, 37.06, 327.96°)
OKLaboklab(32.9% 0.0879 -0.0541)
OKLCHoklch(32.9% 0.103 328.4)
XYZxyz(5.1588, 3.1490, 7.7317)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D4F #1D501E
analogous
#381D50 #501D4F #501D36
triadic
#501D4F #4F501D #1D4F50
tetradic
#501D4F #50381D #1D501E #1D3650
square
#501D4F #50381D #1D501E #1D3650
split-complementary
#501D4F #36501D #1D5038
monochromatic
#160816 #230D23 #501D4F #7D2D7B #AA3EA8

Accessibility & contrast

On white

12.89
#501D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#501D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D4F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D4F#FFFFFF#000000##FFFFFF
##501D4F1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D51
Deuteranopia (green-blind)
#29344E
Tritanopia (blue-blind)
#532333
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501d4f;
/* rgb */ color: rgb(80, 29, 79);
/* oklch */ color: oklch(32.9% 0.103 328.4);
Tailwind
colors: {
  custom: {
    50: '#835d80',
    500: '#501d4f',
    950: '#000000',
  },
}
SCSS
$custom: #501d4f;
$custom-light: #835d80;
$custom-dark: #000000;
JSON
{
  "hex": "#501d4f",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 79
  },
  "hsl": {
    "h": 301.176,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32902,
    "c": 0.10324,
    "h": 328.4
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#501D4F
secondary
#448545
accent
#D65451
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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