#501E56#501E56

#501E56 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.5% C 0.109 H 323.3°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#501E56
RGBrgb(80, 30, 86)
HSLhsl(294, 48%, 23%)
HSVhsv(294, 65%, 34%)
CMYKcmyk(7%, 65.1%, 0%, 66.3%)
CIE-LABlab(21.23, 32.35, -23.42)
CIE-LCHlch(21.23, 39.94, 324.10°)
OKLaboklab(33.47% 0.0871 -0.065)
OKLCHoklch(33.47% 0.109 323.3)
XYZxyz(5.4521, 3.3062, 9.1533)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E56 #24561E
analogous
#341E56 #501E56 #561E40
triadic
#501E56 #56501E #1E5650
tetradic
#501E56 #56341E #24561E #1E4056
square
#501E56 #56341E #24561E #1E4056
split-complementary
#501E56 #40561E #1E5634
monochromatic
#150817 #260E29 #501E56 #7A2E83 #A43EB1

Accessibility & contrast

On white

12.64
#501E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#501E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E56
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E56#FFFFFF#000000##FFFFFF
##501E561.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142F58
Deuteranopia (green-blind)
#263555
Tritanopia (blue-blind)
#512637
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501e56;
/* rgb */ color: rgb(80, 30, 86);
/* oklch */ color: oklch(33.5% 0.109 323.3);
Tailwind
colors: {
  custom: {
    50: '#835d86',
    500: '#501e56',
    950: '#000000',
  },
}
SCSS
$custom: #501e56;
$custom-light: #835d86;
$custom-dark: #000000;
JSON
{
  "hex": "#501e56",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 293.571,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33472,
    "c": 0.10869,
    "h": 323.3
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#501E56
secondary
#4C8B45
accent
#D8505F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501E56

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

Preview Lab → · Contrast checker → · Palette generator →

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