#501E66#501E66

#501E66 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.6% C 0.126 H 313.7°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#501E66
RGBrgb(80, 30, 102)
HSLhsl(282, 55%, 26%)
HSVhsv(282, 71%, 40%)
CMYKcmyk(21.6%, 70.6%, 0%, 60%)
CIE-LABlab(22.28, 35.96, -32.32)
CIE-LCHlch(22.28, 48.35, 318.05°)
OKLaboklab(34.57% 0.0871 -0.091)
OKLCHoklch(34.57% 0.126 313.7)
XYZxyz(6.1704, 3.5935, 12.9364)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E66 #34661E
analogous
#2C1E66 #501E66 #661E58
triadic
#501E66 #66501E #1E6650
tetradic
#501E66 #662C1E #34661E #1E5866
square
#501E66 #662C1E #34661E #1E5866
split-complementary
#501E66 #58661E #1E662C
monochromatic
#130718 #2B1037 #501E66 #752C95 #9A3AC5

Accessibility & contrast

On white

12.22
#501E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#501E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E66
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E66#FFFFFF#000000##FFFFFF
##501E661.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#1A3664
Tritanopia (blue-blind)
#4E2C3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501e66;
/* rgb */ color: rgb(80, 30, 102);
/* oklch */ color: oklch(34.6% 0.126 313.7);
Tailwind
colors: {
  custom: {
    50: '#845e92',
    500: '#501e66',
    950: '#000000',
  },
}
SCSS
$custom: #501e66;
$custom-light: #845e92;
$custom-dark: #000000;
JSON
{
  "hex": "#501e66",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 281.667,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34568,
    "c": 0.12592,
    "h": 313.7
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#501E66
secondary
#5F9B45
accent
#DE4A77
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #501E66

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

Preview Lab → · Contrast checker → · Palette generator →

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