#501D60#501D60

#501D60 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.121 H 317.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#501D60
RGBrgb(80, 29, 96)
HSLhsl(286, 54%, 25%)
HSVhsv(286, 70%, 38%)
CMYKcmyk(16.7%, 69.8%, 0%, 62.4%)
CIE-LABlab(21.69, 35.07, -29.34)
CIE-LCHlch(21.69, 45.72, 320.09°)
OKLaboklab(34.01% 0.0886 -0.0822)
OKLCHoklch(34.01% 0.121 317.1)
XYZxyz(5.8586, 3.4290, 11.4173)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D60 #2D601D
analogous
#2F1D60 #501D60 #601D4F
triadic
#501D60 #60501D #1D6050
tetradic
#501D60 #602F1D #2D601D #1D4F60
square
#501D60 #602F1D #2D601D #1D4F60
split-complementary
#501D60 #4F601D #1D602F
monochromatic
#140718 #290F31 #501D60 #772B8F #9E39BE

Accessibility & contrast

On white

12.46
#501D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#501D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D60
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D60#FFFFFF#000000##FFFFFF
##501D601.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043162
Deuteranopia (green-blind)
#1F365E
Tritanopia (blue-blind)
#4F293B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501d60;
/* rgb */ color: rgb(80, 29, 96);
/* oklch */ color: oklch(34.0% 0.121 317.1);
Tailwind
colors: {
  custom: {
    50: '#845d8d',
    500: '#501d60',
    950: '#000000',
  },
}
SCSS
$custom: #501d60;
$custom-light: #845d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#501d60",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 285.672,
    "s": 53.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34008,
    "c": 0.12091,
    "h": 317.1
  },
  "luminance": 0.03429
}

Semantic roles & 50–950 ramp

primary
#501D60
secondary
#579544
accent
#DD4B6E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501D60

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

Preview Lab → · Contrast checker → · Palette generator →

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