#501B4A#501B4A

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

Color values

HEX#501B4A
RGBrgb(80, 27, 74)
HSLhsl(307, 50%, 21%)
HSVhsv(307, 66%, 31%)
CMYKcmyk(0%, 66.3%, 7.5%, 68.6%)
CIE-LABlab(19.98, 31.46, -17.29)
CIE-LCHlch(19.98, 35.90, 331.21°)
OKLaboklab(32.34% 0.0902 -0.0473)
OKLCHoklch(32.34% 0.102 332.3)
XYZxyz(4.9362, 2.9841, 6.7932)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B4A #1B5021
analogous
#3B1B50 #501B4A #501B2F
triadic
#501B4A #4A501B #1B4A50
tetradic
#501B4A #503B1B #1B5021 #1B2F50
square
#501B4A #503B1B #1B5021 #1B2F50
split-complementary
#501B4A #2F501B #1B503B
monochromatic
#170815 #220C20 #501B4A #7E2A74 #AC3A9F

Accessibility & contrast

On white

13.15
#501B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#501B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B4A
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B4A#FFFFFF#000000##FFFFFF
##501B4A1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192B4B
Deuteranopia (green-blind)
#2A3349
Tritanopia (blue-blind)
#541F2F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501b4a;
/* rgb */ color: rgb(80, 27, 74);
/* oklch */ color: oklch(32.3% 0.102 332.3);
Tailwind
colors: {
  custom: {
    50: '#835b7c',
    500: '#501b4a',
    950: '#000000',
  },
}
SCSS
$custom: #501b4a;
$custom-light: #835b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#501b4a",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 74
  },
  "hsl": {
    "h": 306.792,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32336,
    "c": 0.10182,
    "h": 332.3
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#501B4A
secondary
#418649
accent
#D95E4F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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