#501E4D#501E4D

#501E4D is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.9% C 0.100 H 329.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#501E4D
RGBrgb(80, 30, 77)
HSLhsl(304, 45%, 22%)
HSVhsv(304, 63%, 31%)
CMYKcmyk(0%, 62.5%, 3.7%, 68.6%)
CIE-LABlab(20.71, 30.49, -18.18)
CIE-LCHlch(20.71, 35.50, 329.19°)
OKLaboklab(32.92% 0.0861 -0.0499)
OKLCHoklch(32.92% 0.1 329.9)
XYZxyz(5.1121, 3.1702, 7.3624)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E4D #1E5021
analogous
#3A1E50 #501E4D #501E34
triadic
#501E4D #4D501E #1E4D50
tetradic
#501E4D #503A1E #1E5021 #1E3450
square
#501E4D #503A1E #1E5021 #1E3450
split-complementary
#501E4D #34501E #1E503A
monochromatic
#160815 #230D22 #501E4D #7D2F78 #A93FA3

Accessibility & contrast

On white

12.85
#501E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#501E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E4D
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E4D#FFFFFF#000000##FFFFFF
##501E4D1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4E
Deuteranopia (green-blind)
#2B344C
Tritanopia (blue-blind)
#532332
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501e4d;
/* rgb */ color: rgb(80, 30, 77);
/* oklch */ color: oklch(32.9% 0.100 329.9);
Tailwind
colors: {
  custom: {
    50: '#835d7f',
    500: '#501e4d',
    950: '#000000',
  },
}
SCSS
$custom: #501e4d;
$custom-light: #835d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#501e4d",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 303.6,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32925,
    "c": 0.09953,
    "h": 329.9
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#501E4D
secondary
#458549
accent
#D55A53
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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