#501451#501451

#501451 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.119 H 327.2°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#501451
RGBrgb(80, 20, 81)
HSLhsl(299, 60%, 20%)
HSVhsv(299, 75%, 32%)
CMYKcmyk(1.2%, 75.3%, 0%, 68.2%)
CIE-LABlab(19.23, 36.06, -23.24)
CIE-LCHlch(19.23, 42.89, 327.20°)
OKLaboklab(31.92% 0.1 -0.0644)
OKLCHoklch(31.92% 0.119 327.2)
XYZxyz(5.0435, 2.8002, 8.0578)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501451 #155114
analogous
#311451 #501451 #511434
triadic
#501451 #515014 #145150
tetradic
#501451 #513114 #155114 #143451
square
#501451 #513114 #155114 #143451
split-complementary
#501451 #345114 #145131
monochromatic
#180619 #200820 #501451 #802082 #B12CB3

Accessibility & contrast

On white

13.46
#501451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501451
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501451#FFFFFF#000000##FFFFFF
##5014511.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092A53
Deuteranopia (green-blind)
#23314F
Tritanopia (blue-blind)
#531D31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501451;
/* rgb */ color: rgb(80, 20, 81);
/* oklch */ color: oklch(31.9% 0.119 327.2);
Tailwind
colors: {
  custom: {
    50: '#845882',
    500: '#501451',
    950: '#000000',
  },
}
SCSS
$custom: #501451;
$custom-light: #845882;
$custom-dark: #000000;
JSON
{
  "hex": "#501451",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 81
  },
  "hsl": {
    "h": 299.016,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31922,
    "c": 0.11896,
    "h": 327.2
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#501451
secondary
#398938
accent
#E44447
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501451

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

Preview Lab → · Contrast checker → · Palette generator →

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