#501E48#501E48

#501E48 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.6% C 0.095 H 334.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#501E48
RGBrgb(80, 30, 72)
HSLhsl(310, 45%, 22%)
HSVhsv(310, 63%, 31%)
CMYKcmyk(0%, 62.5%, 10%, 68.6%)
CIE-LABlab(20.45, 29.52, -15.19)
CIE-LCHlch(20.45, 33.20, 332.76°)
OKLaboklab(32.65% 0.0853 -0.0413)
OKLCHoklch(32.65% 0.095 334.1)
XYZxyz(4.9423, 3.1023, 6.4681)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E48 #1E5026
analogous
#3F1E50 #501E48 #501E2F
triadic
#501E48 #48501E #1E4850
tetradic
#501E48 #503F1E #1E5026 #1E2F50
square
#501E48 #503F1E #1E5026 #1E2F50
split-complementary
#501E48 #2F501E #1E503F
monochromatic
#160814 #230D20 #501E48 #7D2F70 #A93F98

Accessibility & contrast

On white

12.96
#501E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#501E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E48
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E48#FFFFFF#000000##FFFFFF
##501E481.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D49
Deuteranopia (green-blind)
#2D3447
Tritanopia (blue-blind)
#542130
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501e48;
/* rgb */ color: rgb(80, 30, 72);
/* oklch */ color: oklch(32.6% 0.095 334.1);
Tailwind
colors: {
  custom: {
    50: '#835d7b',
    500: '#501e48',
    950: '#000000',
  },
}
SCSS
$custom: #501e48;
$custom-light: #835d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#501e48",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 309.6,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32645,
    "c": 0.09476,
    "h": 334.1
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#501E48
secondary
#45854F
accent
#D56853
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501E48

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

Preview Lab → · Contrast checker → · Palette generator →

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