#501F55#501F55

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

Color values

HEX#501F55
RGBrgb(80, 31, 85)
HSLhsl(294, 47%, 23%)
HSVhsv(294, 64%, 33%)
CMYKcmyk(5.9%, 63.5%, 0%, 66.7%)
CIE-LABlab(21.36, 31.62, -22.54)
CIE-LCHlch(21.36, 38.83, 324.51°)
OKLaboklab(33.55% 0.0856 -0.0625)
OKLCHoklch(33.55% 0.106 323.9)
XYZxyz(5.4378, 3.3416, 8.9511)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F55 #24551F
analogous
#351F55 #501F55 #551F3F
triadic
#501F55 #55501F #1F5550
tetradic
#501F55 #55351F #24551F #1F3F55
square
#501F55 #55351F #24551F #1F3F55
split-complementary
#501F55 #3F551F #1F5535
monochromatic
#150816 #260F28 #501F55 #7A2F82 #A440AF

Accessibility & contrast

On white

12.59
#501F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501F55
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F55#FFFFFF#000000##FFFFFF
##501F551.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F57
Deuteranopia (green-blind)
#273554
Tritanopia (blue-blind)
#522736
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501f55;
/* rgb */ color: rgb(80, 31, 85);
/* oklch */ color: oklch(33.5% 0.106 323.9);
Tailwind
colors: {
  custom: {
    50: '#835e85',
    500: '#501f55',
    950: '#000000',
  },
}
SCSS
$custom: #501f55;
$custom-light: #835e85;
$custom-dark: #000000;
JSON
{
  "hex": "#501f55",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 294.444,
    "s": 46.552,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33549,
    "c": 0.10596,
    "h": 323.9
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#501F55
secondary
#4C8A46
accent
#D6525E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501F55

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

Preview Lab → · Contrast checker → · Palette generator →

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