#501567#501567

#501567 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.139 H 314.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#501567
RGBrgb(80, 21, 103)
HSLhsl(283, 66%, 24%)
HSVhsv(283, 80%, 40%)
CMYKcmyk(22.3%, 79.6%, 0%, 59.6%)
CIE-LABlab(20.91, 40.26, -35.18)
CIE-LCHlch(20.91, 53.47, 318.85°)
OKLaboklab(33.61% 0.0972 -0.0993)
OKLCHoklch(33.61% 0.139 314.4)
XYZxyz(6.0242, 3.2213, 13.1338)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501567 #2C6715
analogous
#271567 #501567 #671555
triadic
#501567 #675015 #156750
tetradic
#501567 #672715 #2C6715 #155567
square
#501567 #672715 #2C6715 #155567
split-complementary
#501567 #556715 #156727
monochromatic
#140519 #290B34 #501567 #771F9A #9F2ACD

Accessibility & contrast

On white

12.77
#501567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#501567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501567
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501567#FFFFFF#000000##FFFFFF
##5015671.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#103465
Tritanopia (blue-blind)
#4E273D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501567;
/* rgb */ color: rgb(80, 21, 103);
/* oklch */ color: oklch(33.6% 0.139 314.4);
Tailwind
colors: {
  custom: {
    50: '#845a93',
    500: '#501567',
    950: '#000000',
  },
}
SCSS
$custom: #501567;
$custom-light: #845a93;
$custom-dark: #000000;
JSON
{
  "hex": "#501567",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 283.171,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33614,
    "c": 0.13894,
    "h": 314.4
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#501567
secondary
#569E3A
accent
#E93F6F
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501567

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

Preview Lab → · Contrast checker → · Palette generator →

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