#501E65#501E65

#501E65 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.5% C 0.125 H 314.3°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#501E65
RGBrgb(80, 30, 101)
HSLhsl(282, 54%, 26%)
HSVhsv(282, 70%, 40%)
CMYKcmyk(20.8%, 70.3%, 0%, 60.4%)
CIE-LABlab(22.21, 35.72, -31.78)
CIE-LCHlch(22.21, 47.81, 318.34°)
OKLaboklab(34.49% 0.0871 -0.0894)
OKLCHoklch(34.49% 0.125 314.3)
XYZxyz(6.1211, 3.5738, 12.6768)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E65 #33651E
analogous
#2D1E65 #501E65 #651E56
triadic
#501E65 #65501E #1E6550
tetradic
#501E65 #652D1E #33651E #1E5665
square
#501E65 #652D1E #33651E #1E5665
split-complementary
#501E65 #56651E #1E652D
monochromatic
#130718 #2B1036 #501E65 #752C94 #9B3AC3

Accessibility & contrast

On white

12.25
#501E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#501E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E65
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E65#FFFFFF#000000##FFFFFF
##501E651.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#1B3663
Tritanopia (blue-blind)
#4E2C3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #501e65;
/* rgb */ color: rgb(80, 30, 101);
/* oklch */ color: oklch(34.5% 0.125 314.3);
Tailwind
colors: {
  custom: {
    50: '#845e91',
    500: '#501e65',
    950: '#000000',
  },
}
SCSS
$custom: #501e65;
$custom-light: #845e91;
$custom-dark: #000000;
JSON
{
  "hex": "#501e65",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 282.254,
    "s": 54.198,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34495,
    "c": 0.12484,
    "h": 314.3
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#501E65
secondary
#5E9A45
accent
#DE4A76
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501E65

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

Preview Lab → · Contrast checker → · Palette generator →

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