#501B4B#501B4B

#501B4B is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.103 H 331.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#501B4B
RGBrgb(80, 27, 75)
HSLhsl(306, 50%, 21%)
HSVhsv(306, 66%, 31%)
CMYKcmyk(0%, 66.3%, 6.2%, 68.6%)
CIE-LABlab(20.03, 31.65, -17.89)
CIE-LCHlch(20.03, 36.36, 330.53°)
OKLaboklab(32.39% 0.0903 -0.049)
OKLCHoklch(32.39% 0.103 331.5)
XYZxyz(4.9702, 2.9977, 6.9721)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B4B #1B5020
analogous
#3A1B50 #501B4B #501B30
triadic
#501B4B #4B501B #1B4B50
tetradic
#501B4B #503A1B #1B5020 #1B3050
square
#501B4B #503A1B #1B5020 #1B3050
split-complementary
#501B4B #30501B #1B503A
monochromatic
#170815 #220C20 #501B4B #7E2A76 #AC3AA1

Accessibility & contrast

On white

13.13
#501B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501B4B
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B4B#FFFFFF#000000##FFFFFF
##501B4B1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182C4C
Deuteranopia (green-blind)
#2A334A
Tritanopia (blue-blind)
#532030
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501b4b;
/* rgb */ color: rgb(80, 27, 75);
/* oklch */ color: oklch(32.4% 0.103 331.5);
Tailwind
colors: {
  custom: {
    50: '#835b7d',
    500: '#501b4b',
    950: '#000000',
  },
}
SCSS
$custom: #501b4b;
$custom-light: #835b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#501b4b",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 75
  },
  "hsl": {
    "h": 305.66,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32394,
    "c": 0.10274,
    "h": 331.5
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#501B4B
secondary
#418647
accent
#D95C4F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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