#501B57#501B57

#501B57 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.1% C 0.115 H 322.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#501B57
RGBrgb(80, 27, 87)
HSLhsl(293, 53%, 22%)
HSVhsv(293, 69%, 34%)
CMYKcmyk(8%, 69%, 0%, 65.9%)
CIE-LABlab(20.74, 34.08, -24.86)
CIE-LCHlch(20.74, 42.19, 323.89°)
OKLaboklab(33.14% 0.0913 -0.0692)
OKLCHoklch(33.14% 0.115 322.8)
XYZxyz(5.4203, 3.1778, 9.3428)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B57 #22571B
analogous
#321B57 #501B57 #571B40
triadic
#501B57 #57501B #1B5750
tetradic
#501B57 #57321B #22571B #1B4057
square
#501B57 #57321B #22571B #1B4057
split-complementary
#501B57 #40571B #1B5732
monochromatic
#150717 #250D28 #501B57 #7B2986 #A638B4

Accessibility & contrast

On white

12.84
#501B57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501B57
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B57#FFFFFF#000000##FFFFFF
##501B571.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2E59
Deuteranopia (green-blind)
#233455
Tritanopia (blue-blind)
#512436
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501b57;
/* rgb */ color: rgb(80, 27, 87);
/* oklch */ color: oklch(33.1% 0.115 322.8);
Tailwind
colors: {
  custom: {
    50: '#835c87',
    500: '#501b57',
    950: '#000000',
  },
}
SCSS
$custom: #501b57;
$custom-light: #835c87;
$custom-dark: #000000;
JSON
{
  "hex": "#501b57",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 87
  },
  "hsl": {
    "h": 293,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33137,
    "c": 0.11455,
    "h": 322.8
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#501B57
secondary
#4A8D41
accent
#DC4C5D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501B57

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

Preview Lab → · Contrast checker → · Palette generator →

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