#501656#501656

#501656 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.5% C 0.121 H 323.9°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#501656
RGBrgb(80, 22, 86)
HSLhsl(294, 59%, 21%)
HSVhsv(294, 74%, 34%)
CMYKcmyk(7%, 74.4%, 0%, 66.3%)
CIE-LABlab(19.85, 36.20, -25.62)
CIE-LCHlch(19.85, 44.34, 324.71°)
OKLaboklab(32.47% 0.0977 -0.0713)
OKLCHoklch(32.47% 0.121 323.9)
XYZxyz(5.2747, 2.9515, 9.0942)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501656 #1C5616
analogous
#301656 #501656 #56163C
triadic
#501656 #565016 #165650
tetradic
#501656 #563016 #1C5616 #163C56
square
#501656 #563016 #1C5616 #163C56
split-complementary
#501656 #3C5616 #165630
monochromatic
#170618 #230A25 #501656 #7D2287 #AB2FB7

Accessibility & contrast

On white

13.21
#501656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#501656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501656
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501656#FFFFFF#000000##FFFFFF
##5016561.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052C58
Deuteranopia (green-blind)
#213254
Tritanopia (blue-blind)
#522134
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501656;
/* rgb */ color: rgb(80, 22, 86);
/* oklch */ color: oklch(32.5% 0.121 323.9);
Tailwind
colors: {
  custom: {
    50: '#845986',
    500: '#501656',
    950: '#000000',
  },
}
SCSS
$custom: #501656;
$custom-light: #845986;
$custom-dark: #000000;
JSON
{
  "hex": "#501656",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 294.375,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32473,
    "c": 0.12092,
    "h": 323.9
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#501656
secondary
#428D3A
accent
#E24554
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501656

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

Preview Lab → · Contrast checker → · Palette generator →

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