#501C68#501C68

#501C68 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.131 H 313.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#501C68
RGBrgb(80, 28, 104)
HSLhsl(281, 58%, 26%)
HSVhsv(281, 73%, 41%)
CMYKcmyk(23.1%, 73.1%, 0%, 59.2%)
CIE-LABlab(22.07, 37.40, -33.96)
CIE-LCHlch(22.07, 50.52, 317.76°)
OKLaboklab(34.47% 0.0893 -0.0958)
OKLCHoklch(34.47% 0.131 313)
XYZxyz(6.2218, 3.5356, 13.4487)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C68 #34681C
analogous
#2A1C68 #501C68 #681C5A
triadic
#501C68 #68501C #1C6850
tetradic
#501C68 #682A1C #34681C #1C5A68
square
#501C68 #682A1C #34681C #1C5A68
split-complementary
#501C68 #5A681C #1C682A
monochromatic
#130618 #2B0F38 #501C68 #752998 #9A36C8

Accessibility & contrast

On white

12.30
#501C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#501C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C68
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C68#FFFFFF#000000##FFFFFF
##501C681.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326A
Deuteranopia (green-blind)
#163666
Tritanopia (blue-blind)
#4D2C3F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501c68;
/* rgb */ color: rgb(80, 28, 104);
/* oklch */ color: oklch(34.5% 0.131 313.0);
Tailwind
colors: {
  custom: {
    50: '#845d94',
    500: '#501c68',
    950: '#000000',
  },
}
SCSS
$custom: #501c68;
$custom-light: #845d94;
$custom-dark: #000000;
JSON
{
  "hex": "#501c68",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 281.053,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.13097,
    "h": 313
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#501C68
secondary
#5F9D43
accent
#E14778
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501C68

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

Preview Lab → · Contrast checker → · Palette generator →

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