#501E85#501E85

#501E85 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.160 H 300.7°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#501E85
RGBrgb(80, 30, 133)
HSLhsl(269, 63%, 32%)
HSVhsv(269, 77%, 52%)
CMYKcmyk(39.8%, 77.4%, 0%, 47.8%)
CIE-LABlab(24.73, 43.63, -48.20)
CIE-LCHlch(24.73, 65.01, 312.15°)
OKLaboklab(37.08% 0.0818 -0.1376)
OKLCHoklch(37.08% 0.16 300.7)
XYZxyz(8.0051, 4.3274, 22.5993)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E85 #53851E
analogous
#1E2085 #501E85 #841E85
triadic
#501E85 #85501E #1E8550
tetradic
#501E85 #851E20 #53851E #1E8584
square
#501E85 #851E20 #53851E #1E8584
split-complementary
#501E85 #85841E #20851E
monochromatic
#140721 #321353 #501E85 #6E29B7 #8D48D6

Accessibility & contrast

On white

11.26
#501E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501E85
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E85#FFFFFF#000000##FFFFFF
##501E851.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#443950
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501e85;
/* rgb */ color: rgb(80, 30, 133);
/* oklch */ color: oklch(37.1% 0.160 300.7);
Tailwind
colors: {
  custom: {
    50: '#875fa9',
    500: '#501e85',
    950: '#000000',
  },
}
SCSS
$custom: #501e85;
$custom-light: #875fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#501e85",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 269.126,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37076,
    "c": 0.16012,
    "h": 300.7
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#501E85
secondary
#81B847
accent
#E64296
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501E85

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

Preview Lab → · Contrast checker → · Palette generator →

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