#501D68#501D68

#501D68 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.130 H 312.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#501D68
RGBrgb(80, 29, 104)
HSLhsl(281, 56%, 26%)
HSVhsv(281, 72%, 41%)
CMYKcmyk(23.1%, 72.1%, 0%, 59.2%)
CIE-LABlab(22.25, 36.92, -33.68)
CIE-LCHlch(22.25, 49.98, 317.63°)
OKLaboklab(34.59% 0.0881 -0.095)
OKLCHoklch(34.59% 0.13 312.9)
XYZxyz(6.2459, 3.5839, 13.4568)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D68 #35681D
analogous
#2A1D68 #501D68 #681D5A
triadic
#501D68 #68501D #1D6850
tetradic
#501D68 #682A1D #35681D #1D5A68
square
#501D68 #682A1D #35681D #1D5A68
split-complementary
#501D68 #5A681D #1D682A
monochromatic
#120718 #2B1038 #501D68 #752A98 #9A38C7

Accessibility & contrast

On white

12.23
#501D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#501D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D68
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D68#FFFFFF#000000##FFFFFF
##501D681.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#173666
Tritanopia (blue-blind)
#4D2C40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501d68;
/* rgb */ color: rgb(80, 29, 104);
/* oklch */ color: oklch(34.6% 0.130 312.9);
Tailwind
colors: {
  custom: {
    50: '#845e94',
    500: '#501d68',
    950: '#000000',
  },
}
SCSS
$custom: #501d68;
$custom-light: #845e94;
$custom-dark: #000000;
JSON
{
  "hex": "#501d68",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 280.8,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34589,
    "c": 0.12956,
    "h": 312.9
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

primary
#501D68
secondary
#609D44
accent
#E04879
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501D68

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

Preview Lab → · Contrast checker → · Palette generator →

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