#501E4E#501E4E

#501E4E is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.0% C 0.101 H 329.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#501E4E
RGBrgb(80, 30, 78)
HSLhsl(302, 45%, 22%)
HSVhsv(302, 63%, 31%)
CMYKcmyk(0%, 62.5%, 2.5%, 68.6%)
CIE-LABlab(20.77, 30.69, -18.77)
CIE-LCHlch(20.77, 35.98, 328.55°)
OKLaboklab(32.98% 0.0863 -0.0516)
OKLCHoklch(32.98% 0.101 329.1)
XYZxyz(5.1476, 3.1844, 7.5498)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E4E #1E5020
analogous
#391E50 #501E4E #501E35
triadic
#501E4E #4E501E #1E4E50
tetradic
#501E4E #50391E #1E5020 #1E3550
square
#501E4E #50391E #1E5020 #1E3550
split-complementary
#501E4E #35501E #1E5039
monochromatic
#160816 #230D23 #501E4E #7D2F79 #A93FA5

Accessibility & contrast

On white

12.83
#501E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#501E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E4E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E4E#FFFFFF#000000##FFFFFF
##501E4E1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#2A344D
Tritanopia (blue-blind)
#532333
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501e4e;
/* rgb */ color: rgb(80, 30, 78);
/* oklch */ color: oklch(33.0% 0.101 329.1);
Tailwind
colors: {
  custom: {
    50: '#835d80',
    500: '#501e4e',
    950: '#000000',
  },
}
SCSS
$custom: #501e4e;
$custom-light: #835d80;
$custom-dark: #000000;
JSON
{
  "hex": "#501e4e",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 302.4,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32984,
    "c": 0.10053,
    "h": 329.1
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#501E4E
secondary
#458547
accent
#D55853
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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