#501B6A#501B6A

#501B6A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.134 H 312.2°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#501B6A
RGBrgb(80, 27, 106)
HSLhsl(280, 59%, 26%)
HSVhsv(280, 75%, 42%)
CMYKcmyk(24.5%, 74.5%, 0%, 58.4%)
CIE-LABlab(22.05, 38.34, -35.29)
CIE-LCHlch(22.05, 52.11, 317.37°)
OKLaboklab(34.5% 0.0903 -0.0997)
OKLCHoklch(34.5% 0.134 312.2)
XYZxyz(6.3012, 3.5301, 13.9823)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B6A #356A1B
analogous
#281B6A #501B6A #6A1B5C
triadic
#501B6A #6A501B #1B6A50
tetradic
#501B6A #6A281B #356A1B #1B5C6A
square
#501B6A #6A281B #356A1B #1B5C6A
split-complementary
#501B6A #5C6A1B #1B6A28
monochromatic
#120618 #2B0F39 #501B6A #75279B #9A34CB

Accessibility & contrast

On white

12.31
#501B6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#501B6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B6A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B6A#FFFFFF#000000##FFFFFF
##501B6A1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#123668
Tritanopia (blue-blind)
#4D2C40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501b6a;
/* rgb */ color: rgb(80, 27, 106);
/* oklch */ color: oklch(34.5% 0.134 312.2);
Tailwind
colors: {
  custom: {
    50: '#845d95',
    500: '#501b6a',
    950: '#000000',
  },
}
SCSS
$custom: #501b6a;
$custom-light: #845d95;
$custom-dark: #000000;
JSON
{
  "hex": "#501b6a",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 106
  },
  "hsl": {
    "h": 280.253,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34498,
    "c": 0.13448,
    "h": 312.2
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#501B6A
secondary
#609F42
accent
#E34579
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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