#501B58#501B58

#501B58 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.2% C 0.116 H 322.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#501B58
RGBrgb(80, 27, 88)
HSLhsl(292, 53%, 23%)
HSVhsv(292, 69%, 35%)
CMYKcmyk(9.1%, 69.3%, 0%, 65.5%)
CIE-LABlab(20.81, 34.30, -25.43)
CIE-LCHlch(20.81, 42.70, 323.44°)
OKLaboklab(33.2% 0.0913 -0.0708)
OKLCHoklch(33.2% 0.116 322.2)
XYZxyz(5.4615, 3.1942, 9.5595)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B58 #23581B
analogous
#311B58 #501B58 #581B42
triadic
#501B58 #58501B #1B5850
tetradic
#501B58 #58311B #23581B #1B4258
square
#501B58 #58311B #23581B #1B4258
split-complementary
#501B58 #42581B #1B5831
monochromatic
#150717 #250D29 #501B58 #7B2987 #A538B6

Accessibility & contrast

On white

12.81
#501B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#501B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B58
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B58#FFFFFF#000000##FFFFFF
##501B581.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2E5A
Deuteranopia (green-blind)
#233456
Tritanopia (blue-blind)
#512537
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501b58;
/* rgb */ color: rgb(80, 27, 88);
/* oklch */ color: oklch(33.2% 0.116 322.2);
Tailwind
colors: {
  custom: {
    50: '#835c87',
    500: '#501b58',
    950: '#000000',
  },
}
SCSS
$custom: #501b58;
$custom-light: #835c87;
$custom-dark: #000000;
JSON
{
  "hex": "#501b58",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 292.131,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33204,
    "c": 0.11557,
    "h": 322.2
  },
  "luminance": 0.03194
}

Semantic roles & 50–950 ramp

primary
#501B58
secondary
#4B8E41
accent
#DC4B5E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501B58

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

Preview Lab → · Contrast checker → · Palette generator →

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