#501D65#501D65

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

Color values

HEX#501D65
RGBrgb(80, 29, 101)
HSLhsl(283, 55%, 25%)
HSVhsv(283, 71%, 40%)
CMYKcmyk(20.8%, 71.3%, 0%, 60.4%)
CIE-LABlab(22.03, 36.22, -32.07)
CIE-LCHlch(22.03, 48.37, 318.48°)
OKLaboklab(34.37% 0.0884 -0.0902)
OKLCHoklch(34.37% 0.126 314.4)
XYZxyz(6.0962, 3.5240, 12.6685)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D65 #32651D
analogous
#2C1D65 #501D65 #651D56
triadic
#501D65 #65501D #1D6550
tetradic
#501D65 #652C1D #32651D #1D5665
square
#501D65 #652C1D #32651D #1D5665
split-complementary
#501D65 #56651D #1D652C
monochromatic
#130718 #2A0F35 #501D65 #762B95 #9B38C4

Accessibility & contrast

On white

12.32
#501D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501D65
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D65#FFFFFF#000000##FFFFFF
##501D651.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#1A3663
Tritanopia (blue-blind)
#4E2B3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501d65;
/* rgb */ color: rgb(80, 29, 101);
/* oklch */ color: oklch(34.4% 0.126 314.4);
Tailwind
colors: {
  custom: {
    50: '#845d91',
    500: '#501d65',
    950: '#000000',
  },
}
SCSS
$custom: #501d65;
$custom-light: #845d91;
$custom-dark: #000000;
JSON
{
  "hex": "#501d65",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 282.5,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34367,
    "c": 0.1263,
    "h": 314.4
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#501D65
secondary
#5D9A44
accent
#DF4975
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501D65

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

Preview Lab → · Contrast checker → · Palette generator →

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