#501E4B#501E4B

#501E4B is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.098 H 331.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#501E4B
RGBrgb(80, 30, 75)
HSLhsl(306, 45%, 22%)
HSVhsv(306, 63%, 31%)
CMYKcmyk(0%, 62.5%, 6.2%, 68.6%)
CIE-LABlab(20.61, 30.09, -16.99)
CIE-LCHlch(20.61, 34.56, 330.55°)
OKLaboklab(32.81% 0.0858 -0.0465)
OKLCHoklch(32.81% 0.098 331.6)
XYZxyz(5.0425, 3.1424, 6.9962)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E4B #1E5023
analogous
#3C1E50 #501E4B #501E32
triadic
#501E4B #4B501E #1E4B50
tetradic
#501E4B #503C1E #1E5023 #1E3250
square
#501E4B #503C1E #1E5023 #1E3250
split-complementary
#501E4B #32501E #1E503C
monochromatic
#160815 #230D21 #501E4B #7D2F75 #A93F9E

Accessibility & contrast

On white

12.90
#501E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#501E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E4B
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E4B#FFFFFF#000000##FFFFFF
##501E4B1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4C
Deuteranopia (green-blind)
#2B344A
Tritanopia (blue-blind)
#532231
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501e4b;
/* rgb */ color: rgb(80, 30, 75);
/* oklch */ color: oklch(32.8% 0.098 331.6);
Tailwind
colors: {
  custom: {
    50: '#835d7d',
    500: '#501e4b',
    950: '#000000',
  },
}
SCSS
$custom: #501e4b;
$custom-light: #835d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#501e4b",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 306,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32811,
    "c": 0.09759,
    "h": 331.6
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#501E4B
secondary
#45854B
accent
#D56053
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #501E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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