#501C5D#501C5D

#501C5D is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.7% C 0.119 H 319.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#501C5D
RGBrgb(80, 28, 93)
HSLhsl(288, 54%, 24%)
HSVhsv(288, 70%, 36%)
CMYKcmyk(14%, 69.9%, 0%, 63.5%)
CIE-LABlab(21.31, 34.89, -27.96)
CIE-LCHlch(21.31, 44.71, 321.30°)
OKLaboklab(33.67% 0.09 -0.0782)
OKLCHoklch(33.67% 0.119 319)
XYZxyz(5.6990, 3.3266, 10.6957)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C5D #295D1C
analogous
#2F1C5D #501C5D #5D1C49
triadic
#501C5D #5D501C #1C5D50
tetradic
#501C5D #5D2F1C #295D1C #1C495D
square
#501C5D #5D2F1C #295D1C #1C495D
split-complementary
#501C5D #495D1C #1C5D2F
monochromatic
#140718 #280E2E #501C5D #782A8C #A138BB

Accessibility & contrast

On white

12.61
#501C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501C5D
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C5D#FFFFFF#000000##FFFFFF
##501C5D1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07305F
Deuteranopia (green-blind)
#20355B
Tritanopia (blue-blind)
#50273A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501c5d;
/* rgb */ color: rgb(80, 28, 93);
/* oklch */ color: oklch(33.7% 0.119 319.0);
Tailwind
colors: {
  custom: {
    50: '#835d8b',
    500: '#501c5d',
    950: '#000000',
  },
}
SCSS
$custom: #501c5d;
$custom-light: #835d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#501c5d",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 288,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3367,
    "c": 0.11924,
    "h": 319
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#501C5D
secondary
#529242
accent
#DD4B68
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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