#501561#501561

#501561 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.2% C 0.133 H 317.5°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#501561
RGBrgb(80, 21, 97)
HSLhsl(287, 64%, 23%)
HSVhsv(287, 78%, 38%)
CMYKcmyk(17.5%, 78.4%, 0%, 62%)
CIE-LABlab(20.46, 38.94, -31.96)
CIE-LCHlch(20.46, 50.38, 320.62°)
OKLaboklab(33.15% 0.098 -0.0899)
OKLCHoklch(33.15% 0.133 317.5)
XYZxyz(5.7338, 3.1051, 11.6043)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501561 #266115
analogous
#2A1561 #501561 #61154C
triadic
#501561 #615015 #156150
tetradic
#501561 #612A15 #266115 #154C61
square
#501561 #612A15 #266115 #154C61
split-complementary
#501561 #4C6115 #15612A
monochromatic
#150519 #270A2F #501561 #792093 #A32BC6

Accessibility & contrast

On white

12.95
#501561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#501561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501561
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501561#FFFFFF#000000##FFFFFF
##5015611.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#17335F
Tritanopia (blue-blind)
#4F253A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501561;
/* rgb */ color: rgb(80, 21, 97);
/* oklch */ color: oklch(33.2% 0.133 317.5);
Tailwind
colors: {
  custom: {
    50: '#84598e',
    500: '#501561',
    950: '#000000',
  },
}
SCSS
$custom: #501561;
$custom-light: #84598e;
$custom-dark: #000000;
JSON
{
  "hex": "#501561",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 286.579,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33153,
    "c": 0.13298,
    "h": 317.5
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#501561
secondary
#4F983A
accent
#E74066
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501561

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

Preview Lab → · Contrast checker → · Palette generator →

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