#501E68#501E68

#501E68 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.128 H 312.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#501E68
RGBrgb(80, 30, 104)
HSLhsl(281, 55%, 26%)
HSVhsv(281, 71%, 41%)
CMYKcmyk(23.1%, 71.2%, 0%, 59.2%)
CIE-LABlab(22.42, 36.43, -33.40)
CIE-LCHlch(22.42, 49.42, 317.48°)
OKLaboklab(34.72% 0.0869 -0.0941)
OKLCHoklch(34.72% 0.128 312.7)
XYZxyz(6.2708, 3.6337, 13.4651)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E68 #36681E
analogous
#2B1E68 #501E68 #681E5B
triadic
#501E68 #68501E #1E6850
tetradic
#501E68 #682B1E #36681E #1E5B68
square
#501E68 #682B1E #36681E #1E5B68
split-complementary
#501E68 #5B681E #1E682B
monochromatic
#120718 #2B1039 #501E68 #752C98 #993AC6

Accessibility & contrast

On white

12.16
#501E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E68
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E68#FFFFFF#000000##FFFFFF
##501E681.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#183766
Tritanopia (blue-blind)
#4D2D40
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501e68;
/* rgb */ color: rgb(80, 30, 104);
/* oklch */ color: oklch(34.7% 0.128 312.7);
Tailwind
colors: {
  custom: {
    50: '#845e94',
    500: '#501e68',
    950: '#000000',
  },
}
SCSS
$custom: #501e68;
$custom-light: #845e94;
$custom-dark: #000000;
JSON
{
  "hex": "#501e68",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 280.541,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34715,
    "c": 0.12812,
    "h": 312.7
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#501E68
secondary
#629D45
accent
#DF497A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #501E68

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

Preview Lab → · Contrast checker → · Palette generator →

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