#501D5E#501D5E

#501D5E is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.9% C 0.119 H 318.3°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#501D5E
RGBrgb(80, 29, 94)
HSLhsl(287, 53%, 24%)
HSVhsv(287, 69%, 37%)
CMYKcmyk(14.9%, 69.1%, 0%, 63.1%)
CIE-LABlab(21.55, 34.62, -28.23)
CIE-LCHlch(21.55, 44.67, 320.81°)
OKLaboklab(33.87% 0.0887 -0.079)
OKLCHoklch(33.87% 0.119 318.3)
XYZxyz(5.7677, 3.3926, 10.9385)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D5E #2B5E1D
analogous
#301D5E #501D5E #5E1D4C
triadic
#501D5E #5E501D #1D5E50
tetradic
#501D5E #5E301D #2B5E1D #1D4C5E
square
#501D5E #5E301D #2B5E1D #1D4C5E
split-complementary
#501D5E #4C5E1D #1D5E30
monochromatic
#140717 #280F2F #501D5E #782B8D #A03ABC

Accessibility & contrast

On white

12.51
#501D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#501D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D5E
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D5E#FFFFFF#000000##FFFFFF
##501D5E1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073060
Deuteranopia (green-blind)
#20355C
Tritanopia (blue-blind)
#50283A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501d5e;
/* rgb */ color: rgb(80, 29, 94);
/* oklch */ color: oklch(33.9% 0.119 318.3);
Tailwind
colors: {
  custom: {
    50: '#835d8c',
    500: '#501d5e',
    950: '#000000',
  },
}
SCSS
$custom: #501d5e;
$custom-light: #835d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#501d5e",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 287.077,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.11877,
    "h": 318.3
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#501D5E
secondary
#559344
accent
#DC4C6B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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