#501E54#501E54

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

Color values

HEX#501E54
RGBrgb(80, 30, 84)
HSLhsl(296, 47%, 22%)
HSVhsv(296, 64%, 33%)
CMYKcmyk(4.8%, 64.3%, 0%, 67.1%)
CIE-LABlab(21.11, 31.93, -22.27)
CIE-LCHlch(21.11, 38.93, 325.10°)
OKLaboklab(33.35% 0.087 -0.0617)
OKLCHoklch(33.35% 0.107 324.7)
XYZxyz(5.3726, 3.2744, 8.7348)
Luminance0.0327 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E54 #22541E
analogous
#351E54 #501E54 #541E3D
triadic
#501E54 #54501E #1E5450
tetradic
#501E54 #54351E #22541E #1E3D54
square
#501E54 #54351E #22541E #1E3D54
split-complementary
#501E54 #3D541E #1E5435
monochromatic
#150817 #250E27 #501E54 #7B2E81 #A63EAE

Accessibility & contrast

On white

12.69
#501E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501E54
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E54#FFFFFF#000000##FFFFFF
##501E541.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152F56
Deuteranopia (green-blind)
#273553
Tritanopia (blue-blind)
#522536
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501e54;
/* rgb */ color: rgb(80, 30, 84);
/* oklch */ color: oklch(33.3% 0.107 324.7);
Tailwind
colors: {
  custom: {
    50: '#835d84',
    500: '#501e54',
    950: '#000000',
  },
}
SCSS
$custom: #501e54;
$custom-light: #835d84;
$custom-dark: #000000;
JSON
{
  "hex": "#501e54",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 295.556,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33346,
    "c": 0.10661,
    "h": 324.7
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#501E54
secondary
#4A8945
accent
#D7515B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501E54

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

Preview Lab → · Contrast checker → · Palette generator →

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