#501D5C#501D5C

#501D5C is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.7% C 0.117 H 319.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#501D5C
RGBrgb(80, 29, 92)
HSLhsl(289, 52%, 24%)
HSVhsv(289, 68%, 36%)
CMYKcmyk(13%, 68.5%, 0%, 63.9%)
CIE-LABlab(21.42, 34.17, -27.11)
CIE-LCHlch(21.42, 43.62, 321.57°)
OKLaboklab(33.73% 0.0887 -0.0757)
OKLCHoklch(33.73% 0.117 319.5)
XYZxyz(5.6792, 3.3572, 10.4720)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D5C #295C1D
analogous
#301D5C #501D5C #5C1D48
triadic
#501D5C #5C501D #1D5C50
tetradic
#501D5C #5C301D #295C1D #1D485C
square
#501D5C #5C301D #295C1D #1D485C
split-complementary
#501D5C #485C1D #1D5C30
monochromatic
#140717 #280E2D #501D5C #782C8B #A13AB9

Accessibility & contrast

On white

12.56
#501D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#501D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D5C
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D5C#FFFFFF#000000##FFFFFF
##501D5C1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B305E
Deuteranopia (green-blind)
#22355A
Tritanopia (blue-blind)
#502839
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501d5c;
/* rgb */ color: rgb(80, 29, 92);
/* oklch */ color: oklch(33.7% 0.117 319.5);
Tailwind
colors: {
  custom: {
    50: '#835d8a',
    500: '#501d5c',
    950: '#000000',
  },
}
SCSS
$custom: #501d5c;
$custom-light: #835d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#501d5c",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 288.571,
    "s": 52.066,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33732,
    "c": 0.11664,
    "h": 319.5
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#501D5C
secondary
#529144
accent
#DC4C68
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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