#501556#501556

#501556 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.122 H 323.9°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#501556
RGBrgb(80, 21, 86)
HSLhsl(294, 61%, 21%)
HSVhsv(294, 76%, 34%)
CMYKcmyk(7%, 75.6%, 0%, 66.3%)
CIE-LABlab(19.70, 36.63, -25.86)
CIE-LCHlch(19.70, 44.84, 324.78°)
OKLaboklab(32.36% 0.0988 -0.072)
OKLCHoklch(32.36% 0.122 323.9)
XYZxyz(5.2560, 2.9140, 9.0879)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501556 #1B5615
analogous
#2F1556 #501556 #56153B
triadic
#501556 #565015 #155650
tetradic
#501556 #562F15 #1B5615 #153B56
square
#501556 #562F15 #1B5615 #153B56
split-complementary
#501556 #3B5615 #15562F
monochromatic
#170619 #220925 #501556 #7E2187 #AC2DB8

Accessibility & contrast

On white

13.27
#501556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#501556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501556
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501556#FFFFFF#000000##FFFFFF
##5015561.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032B58
Deuteranopia (green-blind)
#203254
Tritanopia (blue-blind)
#522034
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501556;
/* rgb */ color: rgb(80, 21, 86);
/* oklch */ color: oklch(32.4% 0.122 323.9);
Tailwind
colors: {
  custom: {
    50: '#845986',
    500: '#501556',
    950: '#000000',
  },
}
SCSS
$custom: #501556;
$custom-light: #845986;
$custom-dark: #000000;
JSON
{
  "hex": "#501556",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 294.462,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32364,
    "c": 0.12229,
    "h": 323.9
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#501556
secondary
#418E39
accent
#E44453
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501556

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

Preview Lab → · Contrast checker → · Palette generator →

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