#501651#501651

#501651 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.116 H 327.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#501651
RGBrgb(80, 22, 81)
HSLhsl(299, 57%, 20%)
HSVhsv(299, 73%, 32%)
CMYKcmyk(1.2%, 72.8%, 0%, 68.2%)
CIE-LABlab(19.53, 35.19, -22.75)
CIE-LCHlch(19.53, 41.91, 327.12°)
OKLaboklab(32.14% 0.0976 -0.063)
OKLCHoklch(32.14% 0.116 327.2)
XYZxyz(5.0803, 2.8737, 8.0701)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501651 #175116
analogous
#321651 #501651 #511634
triadic
#501651 #515016 #165150
tetradic
#501651 #513216 #175116 #163451
square
#501651 #513216 #175116 #163451
split-complementary
#501651 #345116 #165132
monochromatic
#180718 #200921 #501651 #802381 #AF30B1

Accessibility & contrast

On white

13.34
#501651 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#501651 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501651
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501651#FFFFFF#000000##FFFFFF
##5016511.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B53
Deuteranopia (green-blind)
#24324F
Tritanopia (blue-blind)
#521E31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501651;
/* rgb */ color: rgb(80, 22, 81);
/* oklch */ color: oklch(32.1% 0.116 327.2);
Tailwind
colors: {
  custom: {
    50: '#835982',
    500: '#501651',
    950: '#000000',
  },
}
SCSS
$custom: #501651;
$custom-light: #835982;
$custom-dark: #000000;
JSON
{
  "hex": "#501651",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 81
  },
  "hsl": {
    "h": 298.983,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32142,
    "c": 0.11616,
    "h": 327.2
  },
  "luminance": 0.02873
}

Semantic roles & 50–950 ramp

primary
#501651
secondary
#3C883A
accent
#E1474A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501651

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

Preview Lab → · Contrast checker → · Palette generator →

#501651 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva