#501E86#501E86

#501E86 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.161 H 300.4°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#501E86
RGBrgb(80, 30, 134)
HSLhsl(269, 63%, 32%)
HSVhsv(269, 78%, 53%)
CMYKcmyk(40.3%, 77.6%, 0%, 47.5%)
CIE-LABlab(24.81, 43.88, -48.68)
CIE-LCHlch(24.81, 65.54, 312.03°)
OKLaboklab(37.16% 0.0816 -0.1391)
OKLCHoklch(37.16% 0.161 300.4)
XYZxyz(8.0745, 4.3552, 22.9649)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E86 #54861E
analogous
#1E2086 #501E86 #841E86
triadic
#501E86 #86501E #1E8650
tetradic
#501E86 #861E20 #54861E #1E8684
square
#501E86 #861E20 #54861E #1E8684
split-complementary
#501E86 #86841E #20861E
monochromatic
#140822 #321354 #501E86 #6E29B8 #8C48D6

Accessibility & contrast

On white

11.22
#501E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#501E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E86
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E86#FFFFFF#000000##FFFFFF
##501E861.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#443951
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501e86;
/* rgb */ color: rgb(80, 30, 134);
/* oklch */ color: oklch(37.2% 0.161 300.4);
Tailwind
colors: {
  custom: {
    50: '#8760aa',
    500: '#501e86',
    950: '#000000',
  },
}
SCSS
$custom: #501e86;
$custom-light: #8760aa;
$custom-dark: #000000;
JSON
{
  "hex": "#501e86",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 268.846,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37164,
    "c": 0.16122,
    "h": 300.4
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#501E86
secondary
#82B847
accent
#E64197
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501E86

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

Preview Lab → · Contrast checker → · Palette generator →

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