#501F60#501F60

#501F60 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.3% C 0.118 H 316.9°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#501F60
RGBrgb(80, 31, 96)
HSLhsl(285, 51%, 25%)
HSVhsv(285, 68%, 38%)
CMYKcmyk(16.7%, 67.7%, 0%, 62.4%)
CIE-LABlab(22.05, 34.06, -28.75)
CIE-LCHlch(22.05, 44.57, 319.83°)
OKLaboklab(34.27% 0.086 -0.0805)
OKLCHoklch(34.27% 0.118 316.9)
XYZxyz(5.9093, 3.5302, 11.4342)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F60 #2F601F
analogous
#301F60 #501F60 #601F4F
triadic
#501F60 #60501F #1F6050
tetradic
#501F60 #60301F #2F601F #1F4F60
square
#501F60 #60301F #2F601F #1F4F60
split-complementary
#501F60 #4F601F #1F6030
monochromatic
#130717 #291032 #501F60 #772E8E #9D3DBD

Accessibility & contrast

On white

12.31
#501F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501F60
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F60#FFFFFF#000000##FFFFFF
##501F601.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093262
Deuteranopia (green-blind)
#20365E
Tritanopia (blue-blind)
#4F2B3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501f60;
/* rgb */ color: rgb(80, 31, 96);
/* oklch */ color: oklch(34.3% 0.118 316.9);
Tailwind
colors: {
  custom: {
    50: '#835e8d',
    500: '#501f60',
    950: '#000000',
  },
}
SCSS
$custom: #501f60;
$custom-light: #835e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#501f60",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 285.231,
    "s": 51.181,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34273,
    "c": 0.11782,
    "h": 316.9
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#501F60
secondary
#5A9546
accent
#DB4D70
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #501F60

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

Preview Lab → · Contrast checker → · Palette generator →

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