#501E50#501E50

#501E50 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.1% C 0.103 H 327.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#501E50
RGBrgb(80, 30, 80)
HSLhsl(300, 45%, 22%)
HSVhsv(300, 63%, 31%)
CMYKcmyk(0%, 62.5%, 0%, 68.6%)
CIE-LABlab(20.88, 31.10, -19.95)
CIE-LCHlch(20.88, 36.95, 327.32°)
OKLaboklab(33.1% 0.0866 -0.055)
OKLCHoklch(33.1% 0.103 327.6)
XYZxyz(5.2204, 3.2135, 7.9332)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E50 #1E501E
analogous
#371E50 #501E50 #501E37
triadic
#501E50 #50501E #1E5050
tetradic
#501E50 #50371E #1E501E #1E3750
square
#501E50 #50371E #1E501E #1E3750
split-complementary
#501E50 #37501E #1E5037
monochromatic
#160816 #230D23 #501E50 #7D2F7D #A93FA9

Accessibility & contrast

On white

12.78
#501E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501E50
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E50#FFFFFF#000000##FFFFFF
##501E501.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E52
Deuteranopia (green-blind)
#29354F
Tritanopia (blue-blind)
#522434
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501e50;
/* rgb */ color: rgb(80, 30, 80);
/* oklch */ color: oklch(33.1% 0.103 327.6);
Tailwind
colors: {
  custom: {
    50: '#835d81',
    500: '#501e50',
    950: '#000000',
  },
}
SCSS
$custom: #501e50;
$custom-light: #835d81;
$custom-dark: #000000;
JSON
{
  "hex": "#501e50",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 80
  },
  "hsl": {
    "h": 300,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33102,
    "c": 0.10253,
    "h": 327.6
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

primary
#501E50
secondary
#458545
accent
#D55353
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501E50

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

Preview Lab → · Contrast checker → · Palette generator →

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