#501E5E#501E5E

#501E5E is a dark, moderate purple. Relative luminance 0.034; OKLCH L 34.0% C 0.117 H 318.2°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#501E5E
RGBrgb(80, 30, 94)
HSLhsl(287, 52%, 24%)
HSVhsv(287, 68%, 37%)
CMYKcmyk(14.9%, 68.1%, 0%, 63.1%)
CIE-LABlab(21.74, 34.11, -27.94)
CIE-LCHlch(21.74, 44.09, 320.68°)
OKLaboklab(34% 0.0874 -0.0782)
OKLCHoklch(34% 0.117 318.2)
XYZxyz(5.7926, 3.4424, 10.9468)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E5E #2C5E1E
analogous
#301E5E #501E5E #5E1E4C
triadic
#501E5E #5E501E #1E5E50
tetradic
#501E5E #5E301E #2C5E1E #1E4C5E
square
#501E5E #5E301E #2C5E1E #1E4C5E
split-complementary
#501E5E #4C5E1E #1E5E30
monochromatic
#140717 #290F30 #501E5E #772D8C #9F3CBB

Accessibility & contrast

On white

12.44
#501E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#501E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E5E
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E5E#FFFFFF#000000##FFFFFF
##501E5E1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3160
Deuteranopia (green-blind)
#21365C
Tritanopia (blue-blind)
#50293B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501e5e;
/* rgb */ color: rgb(80, 30, 94);
/* oklch */ color: oklch(34.0% 0.117 318.2);
Tailwind
colors: {
  custom: {
    50: '#835e8c',
    500: '#501e5e',
    950: '#000000',
  },
}
SCSS
$custom: #501e5e;
$custom-light: #835e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#501e5e",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 286.875,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34001,
    "c": 0.11721,
    "h": 318.2
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#501E5E
secondary
#569345
accent
#DB4D6C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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