#501F49#501F49

#501F49 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 32.8% C 0.094 H 333.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#501F49
RGBrgb(80, 31, 73)
HSLhsl(309, 44%, 22%)
HSVhsv(309, 61%, 31%)
CMYKcmyk(0%, 61.2%, 8.8%, 68.6%)
CIE-LABlab(20.70, 29.17, -15.49)
CIE-LCHlch(20.70, 33.03, 332.04°)
OKLaboklab(32.85% 0.0839 -0.0422)
OKLCHoklch(32.85% 0.094 333.3)
XYZxyz(5.0009, 3.1668, 6.6499)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F49 #1F5026
analogous
#3F1F50 #501F49 #501F31
triadic
#501F49 #49501F #1F4950
tetradic
#501F49 #503F1F #1F5026 #1F3150
square
#501F49 #503F1F #1F5026 #1F3150
split-complementary
#501F49 #31501F #1F503F
monochromatic
#160914 #240E21 #501F49 #7C3071 #A84199

Accessibility & contrast

On white

12.86
#501F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#501F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F49
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F49#FFFFFF#000000##FFFFFF
##501F491.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2D4A
Deuteranopia (green-blind)
#2D3448
Tritanopia (blue-blind)
#542230
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501f49;
/* rgb */ color: rgb(80, 31, 73);
/* oklch */ color: oklch(32.8% 0.094 333.3);
Tailwind
colors: {
  custom: {
    50: '#835e7c',
    500: '#501f49',
    950: '#000000',
  },
}
SCSS
$custom: #501f49;
$custom-light: #835e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#501f49",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 308.571,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32847,
    "c": 0.09391,
    "h": 333.3
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#501F49
secondary
#46854F
accent
#D46654
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501F49

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

Preview Lab → · Contrast checker → · Palette generator →

#501F49 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva