#501E95#501E95

#501E95 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.178 H 295.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#501E95
RGBrgb(80, 30, 149)
HSLhsl(265, 66%, 35%)
HSVhsv(265, 80%, 58%)
CMYKcmyk(46.3%, 79.9%, 0%, 41.6%)
CIE-LABlab(26.17, 47.78, -55.78)
CIE-LCHlch(26.17, 73.45, 310.58°)
OKLaboklab(38.53% 0.0773 -0.1599)
OKLCHoklch(38.53% 0.178 295.8)
XYZxyz(9.1959, 4.8037, 28.8706)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E95 #63951E
analogous
#1E2895 #501E95 #8B1E95
triadic
#501E95 #95501E #1E9550
tetradic
#501E95 #951E28 #63951E #1E958B
square
#501E95 #951E28 #63951E #1E958B
split-complementary
#501E95 #958B1E #28951E
monochromatic
#19092F #351462 #501E95 #6B28C8 #8C51DC

Accessibility & contrast

On white

10.71
#501E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#501E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E95
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E95#FFFFFF#000000##FFFFFF
##501E951.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#3D3F59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501e95;
/* rgb */ color: rgb(80, 30, 149);
/* oklch */ color: oklch(38.5% 0.178 295.8);
Tailwind
colors: {
  custom: {
    50: '#8860b5',
    500: '#501e95',
    950: '#000000',
  },
}
SCSS
$custom: #501e95;
$custom-light: #8860b5;
$custom-dark: #000000;
JSON
{
  "hex": "#501e95",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 265.21,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38529,
    "c": 0.17761,
    "h": 295.8
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#501E95
secondary
#90BF50
accent
#E93EA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501E95

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

Preview Lab → · Contrast checker → · Palette generator →

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