#501B49#501B49

#501B49 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.3% C 0.101 H 333.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#501B49
RGBrgb(80, 27, 73)
HSLhsl(308, 50%, 21%)
HSVhsv(308, 66%, 31%)
CMYKcmyk(0%, 66.3%, 8.8%, 68.6%)
CIE-LABlab(19.93, 31.27, -16.69)
CIE-LCHlch(19.93, 35.45, 331.91°)
OKLaboklab(32.28% 0.09 -0.0456)
OKLCHoklch(32.28% 0.101 333.1)
XYZxyz(4.9028, 2.9707, 6.6172)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B49 #1B5022
analogous
#3C1B50 #501B49 #501B2E
triadic
#501B49 #49501B #1B4950
tetradic
#501B49 #503C1B #1B5022 #1B2E50
square
#501B49 #503C1B #1B5022 #1B2E50
split-complementary
#501B49 #2E501B #1B503C
monochromatic
#170815 #220C1F #501B49 #7E2A73 #AC3A9D

Accessibility & contrast

On white

13.17
#501B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#501B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B49
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B49#FFFFFF#000000##FFFFFF
##501B491.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2B4A
Deuteranopia (green-blind)
#2B3348
Tritanopia (blue-blind)
#541F2F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501b49;
/* rgb */ color: rgb(80, 27, 73);
/* oklch */ color: oklch(32.3% 0.101 333.1);
Tailwind
colors: {
  custom: {
    50: '#835b7c',
    500: '#501b49',
    950: '#000000',
  },
}
SCSS
$custom: #501b49;
$custom-light: #835b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#501b49",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 73
  },
  "hsl": {
    "h": 307.925,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32279,
    "c": 0.10089,
    "h": 333.1
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#501B49
secondary
#41864A
accent
#D9614F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501B49

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

Preview Lab → · Contrast checker → · Palette generator →

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