#501F48#501F48

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

Color values

HEX#501F48
RGBrgb(80, 31, 72)
HSLhsl(310, 44%, 22%)
HSVhsv(310, 61%, 31%)
CMYKcmyk(0%, 61.2%, 10%, 68.6%)
CIE-LABlab(20.65, 28.98, -14.88)
CIE-LCHlch(20.65, 32.57, 332.81°)
OKLaboklab(32.79% 0.0837 -0.0405)
OKLCHoklch(32.79% 0.093 334.2)
XYZxyz(4.9680, 3.1537, 6.4767)
Luminance0.0315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F48 #1F5027
analogous
#401F50 #501F48 #501F30
triadic
#501F48 #48501F #1F4850
tetradic
#501F48 #50401F #1F5027 #1F3050
square
#501F48 #50401F #1F5027 #1F3050
split-complementary
#501F48 #30501F #1F5040
monochromatic
#160914 #240E20 #501F48 #7C3070 #A84197

Accessibility & contrast

On white

12.88
#501F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501F48
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F48#FFFFFF#000000##FFFFFF
##501F481.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501f48;
/* rgb */ color: rgb(80, 31, 72);
/* oklch */ color: oklch(32.8% 0.093 334.2);
Tailwind
colors: {
  custom: {
    50: '#835e7b',
    500: '#501f48',
    950: '#000000',
  },
}
SCSS
$custom: #501f48;
$custom-light: #835e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#501f48",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 309.796,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32793,
    "c": 0.09297,
    "h": 334.2
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#501F48
secondary
#468550
accent
#D46954
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501F48

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

Preview Lab → · Contrast checker → · Palette generator →

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