#501D4D#501D4D

#501D4D is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.101 H 329.9°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#501D4D
RGBrgb(80, 29, 77)
HSLhsl(304, 47%, 21%)
HSVhsv(304, 64%, 31%)
CMYKcmyk(0%, 63.7%, 3.7%, 68.6%)
CIE-LABlab(20.52, 31.02, -18.48)
CIE-LCHlch(20.52, 36.11, 329.21°)
OKLaboklab(32.78% 0.0876 -0.0507)
OKLCHoklch(32.78% 0.101 329.9)
XYZxyz(5.0871, 3.1204, 7.3541)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D4D #1D5020
analogous
#3A1D50 #501D4D #501D34
triadic
#501D4D #4D501D #1D4D50
tetradic
#501D4D #503A1D #1D5020 #1D3450
square
#501D4D #503A1D #1D5020 #1D3450
split-complementary
#501D4D #34501D #1D503A
monochromatic
#160816 #230D22 #501D4D #7D2D78 #AA3EA3

Accessibility & contrast

On white

12.93
#501D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#501D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D4D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D4D#FFFFFF#000000##FFFFFF
##501D4D1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192D4E
Deuteranopia (green-blind)
#2A344C
Tritanopia (blue-blind)
#532232
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501d4d;
/* rgb */ color: rgb(80, 29, 77);
/* oklch */ color: oklch(32.8% 0.101 329.9);
Tailwind
colors: {
  custom: {
    50: '#835d7f',
    500: '#501d4d',
    950: '#000000',
  },
}
SCSS
$custom: #501d4d;
$custom-light: #835d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#501d4d",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 303.529,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32784,
    "c": 0.10126,
    "h": 329.9
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#501D4D
secondary
#448547
accent
#D65951
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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