#501951#501951

#501951 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.112 H 327.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#501951
RGBrgb(80, 25, 81)
HSLhsl(299, 53%, 21%)
HSVhsv(299, 69%, 32%)
CMYKcmyk(1.2%, 69.1%, 0%, 68.2%)
CIE-LABlab(20.02, 33.81, -21.97)
CIE-LCHlch(20.02, 40.33, 326.99°)
OKLaboklab(32.5% 0.0937 -0.0607)
OKLCHoklch(32.5% 0.112 327)
XYZxyz(5.1410, 2.9951, 8.0903)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501951 #1A5119
analogous
#341951 #501951 #511936
triadic
#501951 #515019 #195150
tetradic
#501951 #513419 #1A5119 #193651
square
#501951 #513419 #1A5119 #193651
split-complementary
#501951 #365119 #195134
monochromatic
#170717 #220B22 #501951 #7E2780 #AC36AF

Accessibility & contrast

On white

13.13
#501951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#501951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501951
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501951#FFFFFF#000000##FFFFFF
##5019511.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112C53
Deuteranopia (green-blind)
#26334F
Tritanopia (blue-blind)
#522132
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501951;
/* rgb */ color: rgb(80, 25, 81);
/* oklch */ color: oklch(32.5% 0.112 327.0);
Tailwind
colors: {
  custom: {
    50: '#835a82',
    500: '#501951',
    950: '#000000',
  },
}
SCSS
$custom: #501951;
$custom-light: #835a82;
$custom-dark: #000000;
JSON
{
  "hex": "#501951",
  "rgb": {
    "r": 80,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 298.929,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32498,
    "c": 0.11169,
    "h": 327
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#501951
secondary
#40873E
accent
#DC4C4E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501951

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

Preview Lab → · Contrast checker → · Palette generator →

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