#501159#501159

#501159 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.130 H 322.3°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#501159
RGBrgb(80, 17, 89)
HSLhsl(293, 68%, 21%)
HSVhsv(293, 81%, 35%)
CMYKcmyk(10.1%, 80.9%, 0%, 65.1%)
CIE-LABlab(19.34, 38.83, -28.44)
CIE-LCHlch(19.34, 48.13, 323.78°)
OKLaboklab(32.18% 0.103 -0.0795)
OKLCHoklch(32.18% 0.13 322.3)
XYZxyz(5.3117, 2.8279, 9.7153)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501159 #1A5911
analogous
#2C1159 #501159 #59113E
triadic
#501159 #595011 #115950
tetradic
#501159 #592C11 #1A5911 #113E59
square
#501159 #592C11 #1A5911 #113E59
split-complementary
#501159 #3E5911 #11592C
monochromatic
#17051A #220726 #501159 #7E1B8C #AC25C0

Accessibility & contrast

On white

13.41
#501159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#501159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501159
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501159#FFFFFF#000000##FFFFFF
##5011591.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#1C3157
Tritanopia (blue-blind)
#511F34
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501159;
/* rgb */ color: rgb(80, 17, 89);
/* oklch */ color: oklch(32.2% 0.130 322.3);
Tailwind
colors: {
  custom: {
    50: '#845788',
    500: '#501159',
    950: '#000000',
  },
}
SCSS
$custom: #501159;
$custom-light: #845788;
$custom-dark: #000000;
JSON
{
  "hex": "#501159",
  "rgb": {
    "r": 80,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 292.5,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32176,
    "c": 0.13012,
    "h": 322.3
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#501159
secondary
#409234
accent
#EB3D53
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #501159

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

Preview Lab → · Contrast checker → · Palette generator →

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