#501551#501551

#501551 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 32.0% C 0.118 H 327.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#501551
RGBrgb(80, 21, 81)
HSLhsl(299, 59%, 20%)
HSVhsv(299, 74%, 32%)
CMYKcmyk(1.2%, 74.1%, 0%, 68.2%)
CIE-LABlab(19.38, 35.63, -23.00)
CIE-LCHlch(19.38, 42.41, 327.16°)
OKLaboklab(32.03% 0.0988 -0.0637)
OKLCHoklch(32.03% 0.118 327.2)
XYZxyz(5.0616, 2.8362, 8.0638)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501551 #165115
analogous
#321551 #501551 #511534
triadic
#501551 #515015 #155150
tetradic
#501551 #513215 #165115 #153451
square
#501551 #513215 #165115 #153451
split-complementary
#501551 #345115 #155132
monochromatic
#180618 #200820 #501551 #802282 #B02EB2

Accessibility & contrast

On white

13.40
#501551 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501551
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501551#FFFFFF#000000##FFFFFF
##5015511.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501551;
/* rgb */ color: rgb(80, 21, 81);
/* oklch */ color: oklch(32.0% 0.118 327.2);
Tailwind
colors: {
  custom: {
    50: '#835982',
    500: '#501551',
    950: '#000000',
  },
}
SCSS
$custom: #501551;
$custom-light: #835982;
$custom-dark: #000000;
JSON
{
  "hex": "#501551",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 81
  },
  "hsl": {
    "h": 299,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.3203,
    "c": 0.11758,
    "h": 327.2
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#501551
secondary
#3A8939
accent
#E24648
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501551

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

Preview Lab → · Contrast checker → · Palette generator →

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