#501E8D#501E8D

#501E8D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.169 H 298.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#501E8D
RGBrgb(80, 30, 141)
HSLhsl(267, 65%, 34%)
HSVhsv(267, 79%, 55%)
CMYKcmyk(43.3%, 78.7%, 0%, 44.7%)
CIE-LABlab(25.43, 45.69, -52.04)
CIE-LCHlch(25.43, 69.25, 311.29°)
OKLaboklab(37.79% 0.0797 -0.1489)
OKLCHoklch(37.79% 0.169 298.2)
XYZxyz(8.5790, 4.5570, 25.6217)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E8D #5B8D1E
analogous
#1E238D #501E8D #871E8D
triadic
#501E8D #8D501E #1E8D50
tetradic
#501E8D #8D1E23 #5B8D1E #1E8D87
square
#501E8D #8D1E23 #5B8D1E #1E8D87
split-complementary
#501E8D #8D871E #238D1E
monochromatic
#170928 #33135B #501E8D #6D29BF #8C4CD9

Accessibility & contrast

On white

10.99
#501E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#501E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E8D
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E8D#FFFFFF#000000##FFFFFF
##501E8D1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#413C55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #501e8d;
/* rgb */ color: rgb(80, 30, 141);
/* oklch */ color: oklch(37.8% 0.169 298.2);
Tailwind
colors: {
  custom: {
    50: '#8760af',
    500: '#501e8d',
    950: '#000000',
  },
}
SCSS
$custom: #501e8d;
$custom-light: #8760af;
$custom-dark: #000000;
JSON
{
  "hex": "#501e8d",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 267.027,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37791,
    "c": 0.16889,
    "h": 298.2
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#501E8D
secondary
#89BC4B
accent
#E8409C
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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