#501E96#501E96

#501E96 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.179 H 295.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#501E96
RGBrgb(80, 30, 150)
HSLhsl(265, 67%, 35%)
HSVhsv(265, 80%, 59%)
CMYKcmyk(46.7%, 80%, 0%, 41.2%)
CIE-LABlab(26.26, 48.04, -56.25)
CIE-LCHlch(26.26, 73.97, 310.50°)
OKLaboklab(38.62% 0.077 -0.1612)
OKLCHoklch(38.62% 0.179 295.5)
XYZxyz(9.2761, 4.8358, 29.2929)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E96 #64961E
analogous
#1E2896 #501E96 #8C1E96
triadic
#501E96 #96501E #1E9650
tetradic
#501E96 #961E28 #64961E #1E968C
square
#501E96 #961E28 #64961E #1E968C
split-complementary
#501E96 #968C1E #28961E
monochromatic
#1A0A30 #351463 #501E96 #6B28C9 #8C52DC

Accessibility & contrast

On white

10.68
#501E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#501E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E96
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E96#FFFFFF#000000##FFFFFF
##501E961.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#3C405A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501e96;
/* rgb */ color: rgb(80, 30, 150);
/* oklch */ color: oklch(38.6% 0.179 295.5);
Tailwind
colors: {
  custom: {
    50: '#8960b6',
    500: '#501e96',
    950: '#000000',
  },
}
SCSS
$custom: #501e96;
$custom-light: #8960b6;
$custom-dark: #000000;
JSON
{
  "hex": "#501e96",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 265,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38623,
    "c": 0.1787,
    "h": 295.5
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#501E96
secondary
#91BF50
accent
#EA3EA2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501E96

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

Preview Lab → · Contrast checker → · Palette generator →

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