#501E8E#501E8E

#501E8E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.170 H 297.8°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#501E8E
RGBrgb(80, 30, 142)
HSLhsl(267, 65%, 34%)
HSVhsv(267, 79%, 56%)
CMYKcmyk(43.7%, 78.9%, 0%, 44.3%)
CIE-LABlab(25.52, 45.95, -52.51)
CIE-LCHlch(25.52, 69.78, 311.19°)
OKLaboklab(37.88% 0.0794 -0.1503)
OKLCHoklch(37.88% 0.17 297.8)
XYZxyz(8.6538, 4.5869, 26.0154)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E8E #5C8E1E
analogous
#1E248E #501E8E #881E8E
triadic
#501E8E #8E501E #1E8E50
tetradic
#501E8E #8E1E24 #5C8E1E #1E8E88
square
#501E8E #8E1E24 #5C8E1E #1E8E88
split-complementary
#501E8E #8E881E #248E1E
monochromatic
#170929 #34135B #501E8E #6C29C1 #8C4DD9

Accessibility & contrast

On white

10.95
#501E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#501E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E8E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E8E#FFFFFF#000000##FFFFFF
##501E8E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#403C55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #501e8e;
/* rgb */ color: rgb(80, 30, 142);
/* oklch */ color: oklch(37.9% 0.170 297.8);
Tailwind
colors: {
  custom: {
    50: '#8860b0',
    500: '#501e8e',
    950: '#000000',
  },
}
SCSS
$custom: #501e8e;
$custom-light: #8860b0;
$custom-dark: #000000;
JSON
{
  "hex": "#501e8e",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 266.786,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37882,
    "c": 0.16998,
    "h": 297.8
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#501E8E
secondary
#8ABC4C
accent
#E8409D
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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