#501E53#501E53

#501E53 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.3% C 0.106 H 325.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#501E53
RGBrgb(80, 30, 83)
HSLhsl(297, 47%, 22%)
HSVhsv(297, 64%, 33%)
CMYKcmyk(3.6%, 63.9%, 0%, 67.5%)
CIE-LABlab(21.05, 31.72, -21.69)
CIE-LCHlch(21.05, 38.43, 325.63°)
OKLaboklab(33.28% 0.0869 -0.06)
OKLCHoklch(33.28% 0.106 325.4)
XYZxyz(5.3338, 3.2589, 8.5300)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E53 #21531E
analogous
#361E53 #501E53 #531E3C
triadic
#501E53 #53501E #1E5350
tetradic
#501E53 #53361E #21531E #1E3C53
square
#501E53 #53361E #21531E #1E3C53
split-complementary
#501E53 #3C531E #1E5336
monochromatic
#160816 #250E26 #501E53 #7B2E80 #A73EAD

Accessibility & contrast

On white

12.71
#501E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#501E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E53
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E53#FFFFFF#000000##FFFFFF
##501E531.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F55
Deuteranopia (green-blind)
#283552
Tritanopia (blue-blind)
#522535
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501e53;
/* rgb */ color: rgb(80, 30, 83);
/* oklch */ color: oklch(33.3% 0.106 325.4);
Tailwind
colors: {
  custom: {
    50: '#835d83',
    500: '#501e53',
    950: '#000000',
  },
}
SCSS
$custom: #501e53;
$custom-light: #835d83;
$custom-dark: #000000;
JSON
{
  "hex": "#501e53",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 296.604,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33284,
    "c": 0.10558,
    "h": 325.4
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#501E53
secondary
#498845
accent
#D75159
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501E53

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

Preview Lab → · Contrast checker → · Palette generator →

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