#501D66#501D66

#501D66 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.127 H 313.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#501D66
RGBrgb(80, 29, 102)
HSLhsl(282, 56%, 26%)
HSVhsv(282, 72%, 40%)
CMYKcmyk(21.6%, 71.6%, 0%, 60%)
CIE-LABlab(22.10, 36.45, -32.61)
CIE-LCHlch(22.10, 48.91, 318.19°)
OKLaboklab(34.44% 0.0883 -0.0918)
OKLCHoklch(34.44% 0.127 313.9)
XYZxyz(6.1455, 3.5437, 12.9281)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D66 #33661D
analogous
#2B1D66 #501D66 #661D57
triadic
#501D66 #66501D #1D6650
tetradic
#501D66 #662B1D #33661D #1D5766
square
#501D66 #662B1D #33661D #1D5766
split-complementary
#501D66 #57661D #1D662B
monochromatic
#130718 #2B0F36 #501D66 #752B96 #9B38C5

Accessibility & contrast

On white

12.29
#501D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#501D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D66
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D66#FFFFFF#000000##FFFFFF
##501D661.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#193664
Tritanopia (blue-blind)
#4E2C3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501d66;
/* rgb */ color: rgb(80, 29, 102);
/* oklch */ color: oklch(34.4% 0.127 313.9);
Tailwind
colors: {
  custom: {
    50: '#845d92',
    500: '#501d66',
    950: '#000000',
  },
}
SCSS
$custom: #501d66;
$custom-light: #845d92;
$custom-dark: #000000;
JSON
{
  "hex": "#501d66",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 281.918,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3444,
    "c": 0.12739,
    "h": 313.9
  },
  "luminance": 0.03544
}

Semantic roles & 50–950 ramp

primary
#501D66
secondary
#5E9B44
accent
#DF4976
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501D66

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

Preview Lab → · Contrast checker → · Palette generator →

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