#501B50#501B50

#501B50 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.7% C 0.108 H 327.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#501B50
RGBrgb(80, 27, 80)
HSLhsl(300, 50%, 21%)
HSVhsv(300, 66%, 31%)
CMYKcmyk(0%, 66.3%, 0%, 68.6%)
CIE-LABlab(20.32, 32.64, -20.83)
CIE-LCHlch(20.32, 38.72, 327.45°)
OKLaboklab(32.69% 0.0909 -0.0575)
OKLCHoklch(32.69% 0.108 327.7)
XYZxyz(5.1481, 3.0689, 7.9091)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B50 #1B501B
analogous
#351B50 #501B50 #501B35
triadic
#501B50 #50501B #1B5050
tetradic
#501B50 #50351B #1B501B #1B3550
square
#501B50 #50351B #1B501B #1B3550
split-complementary
#501B50 #35501B #1B5035
monochromatic
#170817 #220C22 #501B50 #7E2A7E #AC3AAC

Accessibility & contrast

On white

13.01
#501B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#501B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B50
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B50#FFFFFF#000000##FFFFFF
##501B501.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152D52
Deuteranopia (green-blind)
#27334F
Tritanopia (blue-blind)
#532232
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501b50;
/* rgb */ color: rgb(80, 27, 80);
/* oklch */ color: oklch(32.7% 0.108 327.7);
Tailwind
colors: {
  custom: {
    50: '#835c81',
    500: '#501b50',
    950: '#000000',
  },
}
SCSS
$custom: #501b50;
$custom-light: #835c81;
$custom-dark: #000000;
JSON
{
  "hex": "#501b50",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 300,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32692,
    "c": 0.10754,
    "h": 327.7
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#501B50
secondary
#418641
accent
#D94F4F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501B50

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

Preview Lab → · Contrast checker → · Palette generator →

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