#501F5D#501F5D

#501F5D is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.115 H 318.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#501F5D
RGBrgb(80, 31, 93)
HSLhsl(287, 50%, 24%)
HSVhsv(287, 67%, 36%)
CMYKcmyk(14%, 66.7%, 0%, 63.5%)
CIE-LABlab(21.86, 33.37, -27.08)
CIE-LCHlch(21.86, 42.98, 320.94°)
OKLaboklab(34.07% 0.086 -0.0757)
OKLCHoklch(34.07% 0.115 318.6)
XYZxyz(5.7738, 3.4760, 10.7206)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F5D #2C5D1F
analogous
#311F5D #501F5D #5D1F4B
triadic
#501F5D #5D501F #1F5D50
tetradic
#501F5D #5D311F #2C5D1F #1F4B5D
square
#501F5D #5D311F #2C5D1F #1F4B5D
split-complementary
#501F5D #4B5D1F #1F5D31
monochromatic
#140817 #29102F #501F5D #772E8B #9F3EB9

Accessibility & contrast

On white

12.39
#501F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#501F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F5D
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F5D#FFFFFF#000000##FFFFFF
##501F5D1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315F
Deuteranopia (green-blind)
#22365B
Tritanopia (blue-blind)
#50293B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501f5d;
/* rgb */ color: rgb(80, 31, 93);
/* oklch */ color: oklch(34.1% 0.115 318.6);
Tailwind
colors: {
  custom: {
    50: '#835e8b',
    500: '#501f5d',
    950: '#000000',
  },
}
SCSS
$custom: #501f5d;
$custom-light: #835e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#501f5d",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 287.419,
    "s": 50,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34068,
    "c": 0.11454,
    "h": 318.6
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#501F5D
secondary
#569246
accent
#DA4E6B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #501F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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