#501D63#501D63

#501D63 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.124 H 315.5°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#501D63
RGBrgb(80, 29, 99)
HSLhsl(284, 55%, 25%)
HSVhsv(284, 71%, 39%)
CMYKcmyk(19.2%, 70.7%, 0%, 61.2%)
CIE-LABlab(21.89, 35.76, -30.98)
CIE-LCHlch(21.89, 47.31, 319.09°)
OKLaboklab(34.22% 0.0885 -0.087)
OKLCHoklch(34.22% 0.124 315.5)
XYZxyz(5.9994, 3.4853, 12.1587)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D63 #30631D
analogous
#2D1D63 #501D63 #631D53
triadic
#501D63 #63501D #1D6350
tetradic
#501D63 #632D1D #30631D #1D5363
square
#501D63 #632D1D #30631D #1D5363
split-complementary
#501D63 #53631D #1D632D
monochromatic
#130718 #2A0F34 #501D63 #762B92 #9C39C2

Accessibility & contrast

On white

12.37
#501D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#501D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D63
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D63#FFFFFF#000000##FFFFFF
##501D631.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#1C3661
Tritanopia (blue-blind)
#4F2A3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501d63;
/* rgb */ color: rgb(80, 29, 99);
/* oklch */ color: oklch(34.2% 0.124 315.5);
Tailwind
colors: {
  custom: {
    50: '#845d90',
    500: '#501d63',
    950: '#000000',
  },
}
SCSS
$custom: #501d63;
$custom-light: #845d90;
$custom-dark: #000000;
JSON
{
  "hex": "#501d63",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 283.714,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34221,
    "c": 0.12414,
    "h": 315.5
  },
  "luminance": 0.03485
}

Semantic roles & 50–950 ramp

primary
#501D63
secondary
#5B9844
accent
#DE4A72
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501D63

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

Preview Lab → · Contrast checker → · Palette generator →

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