#501B4C#501B4C

#501B4C is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.104 H 330.7°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#501B4C
RGBrgb(80, 27, 76)
HSLhsl(305, 50%, 21%)
HSVhsv(305, 66%, 31%)
CMYKcmyk(0%, 66.3%, 5%, 68.6%)
CIE-LABlab(20.09, 31.85, -18.48)
CIE-LCHlch(20.09, 36.82, 329.88°)
OKLaboklab(32.45% 0.0905 -0.0507)
OKLCHoklch(32.45% 0.104 330.7)
XYZxyz(5.0047, 3.0115, 7.1538)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B4C #1B501F
analogous
#391B50 #501B4C #501B31
triadic
#501B4C #4C501B #1B4C50
tetradic
#501B4C #50391B #1B501F #1B3150
square
#501B4C #50391B #1B501F #1B3150
split-complementary
#501B4C #31501B #1B5039
monochromatic
#170816 #220C21 #501B4C #7E2A77 #AC3AA3

Accessibility & contrast

On white

13.11
#501B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501B4C
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B4C#FFFFFF#000000##FFFFFF
##501B4C1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4D
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#532030
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501b4c;
/* rgb */ color: rgb(80, 27, 76);
/* oklch */ color: oklch(32.5% 0.104 330.7);
Tailwind
colors: {
  custom: {
    50: '#835b7e',
    500: '#501b4c',
    950: '#000000',
  },
}
SCSS
$custom: #501b4c;
$custom-light: #835b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#501b4c",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 76
  },
  "hsl": {
    "h": 304.528,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32452,
    "c": 0.10369,
    "h": 330.7
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#501B4C
secondary
#418646
accent
#D9594F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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