#501E60#501E60

#501E60 is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.119 H 317.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#501E60
RGBrgb(80, 30, 96)
HSLhsl(285, 52%, 25%)
HSVhsv(285, 69%, 38%)
CMYKcmyk(16.7%, 68.7%, 0%, 62.4%)
CIE-LABlab(21.87, 34.57, -29.05)
CIE-LCHlch(21.87, 45.15, 319.96°)
OKLaboklab(34.14% 0.0873 -0.0814)
OKLCHoklch(34.14% 0.119 317)
XYZxyz(5.8835, 3.4788, 11.4256)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E60 #2E601E
analogous
#2F1E60 #501E60 #601E4F
triadic
#501E60 #60501E #1E6050
tetradic
#501E60 #602F1E #2E601E #1E4F60
square
#501E60 #602F1E #2E601E #1E4F60
split-complementary
#501E60 #4F601E #1E602F
monochromatic
#130717 #290F31 #501E60 #772D8F #9E3BBD

Accessibility & contrast

On white

12.38
#501E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501E60
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E60#FFFFFF#000000##FFFFFF
##501E601.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501e60;
/* rgb */ color: rgb(80, 30, 96);
/* oklch */ color: oklch(34.1% 0.119 317.0);
Tailwind
colors: {
  custom: {
    50: '#835e8d',
    500: '#501e60',
    950: '#000000',
  },
}
SCSS
$custom: #501e60;
$custom-light: #835e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#501e60",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 285.455,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34139,
    "c": 0.11938,
    "h": 317
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#501E60
secondary
#589545
accent
#DC4C6F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501E60

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

Preview Lab → · Contrast checker → · Palette generator →

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