#501456#501456

#501456 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.124 H 324.0°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#501456
RGBrgb(80, 20, 86)
HSLhsl(295, 62%, 21%)
HSVhsv(295, 77%, 34%)
CMYKcmyk(7%, 76.7%, 0%, 66.3%)
CIE-LABlab(19.55, 37.05, -26.09)
CIE-LCHlch(19.55, 45.31, 324.84°)
OKLaboklab(32.26% 0.1 -0.0727)
OKLCHoklch(32.26% 0.124 324)
XYZxyz(5.2380, 2.8780, 9.0819)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501456 #1A5614
analogous
#2F1456 #501456 #56143B
triadic
#501456 #565014 #145650
tetradic
#501456 #562F14 #1A5614 #143B56
square
#501456 #562F14 #1A5614 #143B56
split-complementary
#501456 #3B5614 #14562F
monochromatic
#170619 #220824 #501456 #7E2088 #AC2BB9

Accessibility & contrast

On white

13.33
#501456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501456
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501456#FFFFFF#000000##FFFFFF
##5014561.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022B58
Deuteranopia (green-blind)
#203254
Tritanopia (blue-blind)
#521F33
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501456;
/* rgb */ color: rgb(80, 20, 86);
/* oklch */ color: oklch(32.3% 0.124 324.0);
Tailwind
colors: {
  custom: {
    50: '#845886',
    500: '#501456',
    950: '#000000',
  },
}
SCSS
$custom: #501456;
$custom-light: #845886;
$custom-dark: #000000;
JSON
{
  "hex": "#501456",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 294.545,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32258,
    "c": 0.12362,
    "h": 324
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#501456
secondary
#408E38
accent
#E54251
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501456

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

Preview Lab → · Contrast checker → · Palette generator →

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