#501E83#501E83

#501E83 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.158 H 301.4°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#501E83
RGBrgb(80, 30, 131)
HSLhsl(270, 63%, 32%)
HSVhsv(270, 77%, 51%)
CMYKcmyk(38.9%, 77.1%, 0%, 48.6%)
CIE-LABlab(24.55, 43.12, -47.22)
CIE-LCHlch(24.55, 63.95, 312.40°)
OKLaboklab(36.9% 0.0823 -0.1348)
OKLCHoklch(36.9% 0.158 301.4)
XYZxyz(7.8683, 4.2727, 21.8785)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E83 #51831E
analogous
#1E1F83 #501E83 #831E83
triadic
#501E83 #83501E #1E8350
tetradic
#501E83 #831E1F #51831E #1E8383
square
#501E83 #831E1F #51831E #1E8383
split-complementary
#501E83 #83831E #1F831E
monochromatic
#13071F #321351 #501E83 #6E29B5 #8D47D5

Accessibility & contrast

On white

11.32
#501E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#501E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E83
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E83#FFFFFF#000000##FFFFFF
##501E831.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#45384F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501e83;
/* rgb */ color: rgb(80, 30, 131);
/* oklch */ color: oklch(36.9% 0.158 301.4);
Tailwind
colors: {
  custom: {
    50: '#865fa8',
    500: '#501e83',
    950: '#000000',
  },
}
SCSS
$custom: #501e83;
$custom-light: #865fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#501e83",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 269.703,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36901,
    "c": 0.15792,
    "h": 301.4
  },
  "luminance": 0.04273
}

Semantic roles & 50–950 ramp

primary
#501E83
secondary
#7FB647
accent
#E64295
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501E83

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

Preview Lab → · Contrast checker → · Palette generator →

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