#501156#501156

#501156 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.127 H 324.1°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#501156
RGBrgb(80, 17, 86)
HSLhsl(295, 67%, 20%)
HSVhsv(295, 80%, 34%)
CMYKcmyk(7%, 80.2%, 0%, 66.3%)
CIE-LABlab(19.13, 38.23, -26.75)
CIE-LCHlch(19.13, 46.66, 325.01°)
OKLaboklab(31.96% 0.1032 -0.0746)
OKLCHoklch(31.96% 0.127 324.1)
XYZxyz(5.1883, 2.7786, 9.0653)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501156 #175611
analogous
#2E1156 #501156 #561139
triadic
#501156 #565011 #115650
tetradic
#501156 #562E11 #175611 #113956
square
#501156 #562E11 #175611 #113956
split-complementary
#501156 #395611 #11562E
monochromatic
#18051A #200723 #501156 #801B89 #AF25BC

Accessibility & contrast

On white

13.50
#501156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#501156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501156
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501156#FFFFFF#000000##FFFFFF
##5011561.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#1E3154
Tritanopia (blue-blind)
#521E33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501156;
/* rgb */ color: rgb(80, 17, 86);
/* oklch */ color: oklch(32.0% 0.127 324.1);
Tailwind
colors: {
  custom: {
    50: '#845786',
    500: '#501156',
    950: '#000000',
  },
}
SCSS
$custom: #501156;
$custom-light: #845786;
$custom-dark: #000000;
JSON
{
  "hex": "#501156",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 294.783,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31962,
    "c": 0.12736,
    "h": 324.1
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#501156
secondary
#3C8F34
accent
#EA3E4D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #501156

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

Preview Lab → · Contrast checker → · Palette generator →

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