#501D4C#501D4C

#501D4C is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.7% C 0.100 H 330.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#501D4C
RGBrgb(80, 29, 76)
HSLhsl(305, 47%, 21%)
HSVhsv(305, 64%, 31%)
CMYKcmyk(0%, 63.7%, 5%, 68.6%)
CIE-LABlab(20.47, 30.82, -17.89)
CIE-LCHlch(20.47, 35.64, 329.86°)
OKLaboklab(32.73% 0.0875 -0.049)
OKLCHoklch(32.73% 0.1 330.7)
XYZxyz(5.0521, 3.1064, 7.1696)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D4C #1D5021
analogous
#3B1D50 #501D4C #501D33
triadic
#501D4C #4C501D #1D4C50
tetradic
#501D4C #503B1D #1D5021 #1D3350
square
#501D4C #503B1D #1D5021 #1D3350
split-complementary
#501D4C #33501D #1D503B
monochromatic
#160815 #230D21 #501D4C #7D2D77 #AA3EA1

Accessibility & contrast

On white

12.95
#501D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501D4C
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D4C#FFFFFF#000000##FFFFFF
##501D4C1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4D
Deuteranopia (green-blind)
#2A344B
Tritanopia (blue-blind)
#532231
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501d4c;
/* rgb */ color: rgb(80, 29, 76);
/* oklch */ color: oklch(32.7% 0.100 330.7);
Tailwind
colors: {
  custom: {
    50: '#835c7e',
    500: '#501d4c',
    950: '#000000',
  },
}
SCSS
$custom: #501d4c;
$custom-light: #835c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#501d4c",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 76
  },
  "hsl": {
    "h": 304.706,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32726,
    "c": 0.1003,
    "h": 330.7
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#501D4C
secondary
#448549
accent
#D65C51
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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