#501D58#501D58

#501D58 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.5% C 0.112 H 322.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#501D58
RGBrgb(80, 29, 88)
HSLhsl(292, 50%, 23%)
HSVhsv(292, 67%, 35%)
CMYKcmyk(9.1%, 67%, 0%, 65.5%)
CIE-LABlab(21.17, 33.30, -24.86)
CIE-LCHlch(21.17, 41.55, 323.26°)
OKLaboklab(33.47% 0.0886 -0.0692)
OKLCHoklch(33.47% 0.112 322)
XYZxyz(5.5089, 3.2891, 9.5753)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D58 #25581D
analogous
#321D58 #501D58 #581D42
triadic
#501D58 #58501D #1D5850
tetradic
#501D58 #58321D #25581D #1D4258
square
#501D58 #58321D #25581D #1D4258
split-complementary
#501D58 #42581D #1D5832
monochromatic
#150817 #260E2A #501D58 #7A2C86 #A43BB4

Accessibility & contrast

On white

12.67
#501D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#501D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D58
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D58#FFFFFF#000000##FFFFFF
##501D581.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102F5A
Deuteranopia (green-blind)
#243556
Tritanopia (blue-blind)
#512637
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501d58;
/* rgb */ color: rgb(80, 29, 88);
/* oklch */ color: oklch(33.5% 0.112 322.0);
Tailwind
colors: {
  custom: {
    50: '#835d87',
    500: '#501d58',
    950: '#000000',
  },
}
SCSS
$custom: #501d58;
$custom-light: #835d87;
$custom-dark: #000000;
JSON
{
  "hex": "#501d58",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 291.864,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33465,
    "c": 0.11242,
    "h": 322
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#501D58
secondary
#4E8D44
accent
#DA4E61
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501D58

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

Preview Lab → · Contrast checker → · Palette generator →

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