#501F86#501F86

#501F86 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.160 H 300.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#501F86
RGBrgb(80, 31, 134)
HSLhsl(269, 62%, 32%)
HSVhsv(269, 77%, 53%)
CMYKcmyk(40.3%, 76.9%, 0%, 47.5%)
CIE-LABlab(24.97, 43.43, -48.42)
CIE-LCHlch(24.97, 65.05, 311.89°)
OKLaboklab(37.28% 0.0806 -0.1383)
OKLCHoklch(37.28% 0.16 300.2)
XYZxyz(8.1003, 4.4066, 22.9734)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F86 #55861F
analogous
#1F2186 #501F86 #841F86
triadic
#501F86 #86501F #1F8650
tetradic
#501F86 #861F21 #55861F #1F8684
square
#501F86 #861F21 #55861F #1F8684
split-complementary
#501F86 #86841F #21861F
monochromatic
#150823 #321454 #501F86 #6E2AB8 #8C4AD5

Accessibility & contrast

On white

11.16
#501F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#501F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501F86
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F86#FFFFFF#000000##FFFFFF
##501F861.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#443A51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501f86;
/* rgb */ color: rgb(80, 31, 134);
/* oklch */ color: oklch(37.3% 0.160 300.2);
Tailwind
colors: {
  custom: {
    50: '#8760aa',
    500: '#501f86',
    950: '#000000',
  },
}
SCSS
$custom: #501f86;
$custom-light: #8760aa;
$custom-dark: #000000;
JSON
{
  "hex": "#501f86",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 268.544,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37276,
    "c": 0.16009,
    "h": 300.2
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#501F86
secondary
#83B849
accent
#E54298
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501F86

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

Preview Lab → · Contrast checker → · Palette generator →

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