#501B69#501B69

#501B69 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.133 H 312.6°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#501B69
RGBrgb(80, 27, 105)
HSLhsl(281, 59%, 26%)
HSVhsv(281, 74%, 41%)
CMYKcmyk(23.8%, 74.3%, 0%, 58.8%)
CIE-LABlab(21.98, 38.11, -34.76)
CIE-LCHlch(21.98, 51.58, 317.63°)
OKLaboklab(34.42% 0.0904 -0.0981)
OKLCHoklch(34.42% 0.133 312.6)
XYZxyz(6.2495, 3.5094, 13.7100)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B69 #34691B
analogous
#291B69 #501B69 #691B5B
triadic
#501B69 #69501B #1B6950
tetradic
#501B69 #69291B #34691B #1B5B69
square
#501B69 #69291B #34691B #1B5B69
split-complementary
#501B69 #5B691B #1B6929
monochromatic
#130618 #2B0E38 #501B69 #75289A #9A34CA

Accessibility & contrast

On white

12.34
#501B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#501B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B69
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B69#FFFFFF#000000##FFFFFF
##501B691.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501b69;
/* rgb */ color: rgb(80, 27, 105);
/* oklch */ color: oklch(34.4% 0.133 312.6);
Tailwind
colors: {
  custom: {
    50: '#845d94',
    500: '#501b69',
    950: '#000000',
  },
}
SCSS
$custom: #501b69;
$custom-light: #845d94;
$custom-dark: #000000;
JSON
{
  "hex": "#501b69",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 280.769,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34421,
    "c": 0.13341,
    "h": 312.6
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#501B69
secondary
#5F9E42
accent
#E24678
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501B69

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

Preview Lab → · Contrast checker → · Palette generator →

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