#501B48#501B48

#501B48 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.2% C 0.100 H 334.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#501B48
RGBrgb(80, 27, 72)
HSLhsl(309, 50%, 21%)
HSVhsv(309, 66%, 31%)
CMYKcmyk(0%, 66.3%, 10%, 68.6%)
CIE-LABlab(19.87, 31.08, -16.09)
CIE-LCHlch(19.87, 35.00, 332.63°)
OKLaboklab(32.22% 0.0898 -0.0439)
OKLCHoklch(32.22% 0.1 334)
XYZxyz(4.8699, 2.9576, 6.4440)
Luminance0.0296 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B48 #1B5023
analogous
#3D1B50 #501B48 #501B2D
triadic
#501B48 #48501B #1B4850
tetradic
#501B48 #503D1B #1B5023 #1B2D50
square
#501B48 #503D1B #1B5023 #1B2D50
split-complementary
#501B48 #2D501B #1B503D
monochromatic
#170815 #220C1F #501B48 #7E2A71 #AC3A9A

Accessibility & contrast

On white

13.20
#501B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501B48
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B48#FFFFFF#000000##FFFFFF
##501B481.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2B49
Deuteranopia (green-blind)
#2B3347
Tritanopia (blue-blind)
#541F2E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501b48;
/* rgb */ color: rgb(80, 27, 72);
/* oklch */ color: oklch(32.2% 0.100 334.0);
Tailwind
colors: {
  custom: {
    50: '#835b7b',
    500: '#501b48',
    950: '#000000',
  },
}
SCSS
$custom: #501b48;
$custom-light: #835b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#501b48",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 309.057,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32223,
    "c": 0.09997,
    "h": 334
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#501B48
secondary
#41864B
accent
#D9644F
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501B48

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

Preview Lab → · Contrast checker → · Palette generator →

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