#501E57#501E57

#501E57 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.5% C 0.110 H 322.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#501E57
RGBrgb(80, 30, 87)
HSLhsl(293, 49%, 23%)
HSVhsv(293, 66%, 34%)
CMYKcmyk(8%, 65.5%, 0%, 65.9%)
CIE-LABlab(21.29, 32.57, -23.99)
CIE-LCHlch(21.29, 40.45, 323.62°)
OKLaboklab(33.54% 0.0872 -0.0667)
OKLCHoklch(33.54% 0.11 322.6)
XYZxyz(5.4927, 3.3224, 9.3670)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E57 #25571E
analogous
#331E57 #501E57 #571E41
triadic
#501E57 #57501E #1E5750
tetradic
#501E57 #57331E #25571E #1E4157
square
#501E57 #57331E #25571E #1E4157
split-complementary
#501E57 #41571E #1E5733
monochromatic
#150817 #260E29 #501E57 #7A2E85 #A43DB2

Accessibility & contrast

On white

12.62
#501E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#501E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E57
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E57#FFFFFF#000000##FFFFFF
##501E571.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132F59
Deuteranopia (green-blind)
#253556
Tritanopia (blue-blind)
#512737
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501e57;
/* rgb */ color: rgb(80, 30, 87);
/* oklch */ color: oklch(33.5% 0.110 322.6);
Tailwind
colors: {
  custom: {
    50: '#835d86',
    500: '#501e57',
    950: '#000000',
  },
}
SCSS
$custom: #501e57;
$custom-light: #835d86;
$custom-dark: #000000;
JSON
{
  "hex": "#501e57",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 292.632,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33536,
    "c": 0.10974,
    "h": 322.6
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#501E57
secondary
#4E8C45
accent
#D85060
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501E57

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

Preview Lab → · Contrast checker → · Palette generator →

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