#501E61#501E61

#501E61 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.2% C 0.120 H 316.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#501E61
RGBrgb(80, 30, 97)
HSLhsl(285, 53%, 25%)
HSVhsv(285, 69%, 38%)
CMYKcmyk(17.5%, 69.1%, 0%, 62%)
CIE-LABlab(21.93, 34.80, -29.60)
CIE-LCHlch(21.93, 45.68, 319.62°)
OKLaboklab(34.21% 0.0873 -0.083)
OKLCHoklch(34.21% 0.12 316.4)
XYZxyz(5.9299, 3.4973, 11.6696)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E61 #2F611E
analogous
#2E1E61 #501E61 #611E51
triadic
#501E61 #61501E #1E6150
tetradic
#501E61 #612E1E #2F611E #1E5161
square
#501E61 #612E1E #2F611E #1E5161
split-complementary
#501E61 #51611E #1E612E
monochromatic
#130717 #291032 #501E61 #772C90 #9D3BBE

Accessibility & contrast

On white

12.36
#501E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501E61
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E61#FFFFFF#000000##FFFFFF
##501E611.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053163
Deuteranopia (green-blind)
#1F365F
Tritanopia (blue-blind)
#4F2A3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501e61;
/* rgb */ color: rgb(80, 30, 97);
/* oklch */ color: oklch(34.2% 0.120 316.4);
Tailwind
colors: {
  custom: {
    50: '#835e8e',
    500: '#501e61',
    950: '#000000',
  },
}
SCSS
$custom: #501e61;
$custom-light: #835e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#501e61",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 97
  },
  "hsl": {
    "h": 284.776,
    "s": 52.756,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34209,
    "c": 0.12047,
    "h": 316.4
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#501E61
secondary
#5A9645
accent
#DC4C70
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501E61

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

Preview Lab → · Contrast checker → · Palette generator →

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