#501B5A#501B5A

#501B5A is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.3% C 0.118 H 320.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#501B5A
RGBrgb(80, 27, 90)
HSLhsl(290, 54%, 23%)
HSVhsv(290, 70%, 35%)
CMYKcmyk(11.1%, 70%, 0%, 64.7%)
CIE-LABlab(20.93, 34.73, -26.56)
CIE-LCHlch(20.93, 43.72, 322.59°)
OKLaboklab(33.34% 0.0913 -0.0741)
OKLCHoklch(33.34% 0.118 320.9)
XYZxyz(5.5454, 3.2278, 10.0018)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B5A #255A1B
analogous
#301B5A #501B5A #5A1B44
triadic
#501B5A #5A501B #1B5A50
tetradic
#501B5A #5A301B #255A1B #1B445A
square
#501B5A #5A301B #255A1B #1B445A
split-complementary
#501B5A #445A1B #1B5A30
monochromatic
#150718 #260D2B #501B5A #7A2989 #A437B8

Accessibility & contrast

On white

12.76
#501B5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#501B5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B5A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B5A#FFFFFF#000000##FFFFFF
##501B5A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5C
Deuteranopia (green-blind)
#213458
Tritanopia (blue-blind)
#512638
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501b5a;
/* rgb */ color: rgb(80, 27, 90);
/* oklch */ color: oklch(33.3% 0.118 320.9);
Tailwind
colors: {
  custom: {
    50: '#835c89',
    500: '#501b5a',
    950: '#000000',
  },
}
SCSS
$custom: #501b5a;
$custom-light: #835c89;
$custom-dark: #000000;
JSON
{
  "hex": "#501b5a",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 90
  },
  "hsl": {
    "h": 290.476,
    "s": 53.846,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33338,
    "c": 0.11763,
    "h": 320.9
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#501B5A
secondary
#4E9041
accent
#DD4B62
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501B5A

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

Preview Lab → · Contrast checker → · Palette generator →

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