#501B60#501B60

#501B60 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.124 H 317.4°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#501B60
RGBrgb(80, 27, 96)
HSLhsl(286, 56%, 24%)
HSVhsv(286, 72%, 38%)
CMYKcmyk(16.7%, 71.9%, 0%, 62.4%)
CIE-LABlab(21.34, 36.05, -29.90)
CIE-LCHlch(21.34, 46.83, 320.33°)
OKLaboklab(33.76% 0.0912 -0.0839)
OKLCHoklch(33.76% 0.124 317.4)
XYZxyz(5.8112, 3.3341, 11.4015)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B60 #2B601B
analogous
#2E1B60 #501B60 #601B4E
triadic
#501B60 #60501B #1B6050
tetradic
#501B60 #602E1B #2B601B #1B4E60
square
#501B60 #602E1B #2B601B #1B4E60
split-complementary
#501B60 #4E601B #1B602E
monochromatic
#140718 #280E30 #501B60 #782890 #A036C0

Accessibility & contrast

On white

12.60
#501B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#501B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B60
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B60#FFFFFF#000000##FFFFFF
##501B601.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#1D355E
Tritanopia (blue-blind)
#4F283B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501b60;
/* rgb */ color: rgb(80, 27, 96);
/* oklch */ color: oklch(33.8% 0.124 317.4);
Tailwind
colors: {
  custom: {
    50: '#845c8d',
    500: '#501b60',
    950: '#000000',
  },
}
SCSS
$custom: #501b60;
$custom-light: #845c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#501b60",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 286.087,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33756,
    "c": 0.12389,
    "h": 317.4
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#501B60
secondary
#559641
accent
#DF486B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501B60

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

Preview Lab → · Contrast checker → · Palette generator →

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