#501F84#501F84

#501F84 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.158 H 300.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#501F84
RGBrgb(80, 31, 132)
HSLhsl(269, 62%, 32%)
HSVhsv(269, 77%, 52%)
CMYKcmyk(39.4%, 76.5%, 0%, 48.2%)
CIE-LABlab(24.80, 42.91, -47.45)
CIE-LCHlch(24.80, 63.98, 312.13°)
OKLaboklab(37.1% 0.0811 -0.1354)
OKLCHoklch(37.1% 0.158 300.9)
XYZxyz(7.9621, 4.3513, 22.2457)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F84 #53841F
analogous
#1F2184 #501F84 #831F84
triadic
#501F84 #84501F #1F8450
tetradic
#501F84 #841F21 #53841F #1F8483
square
#501F84 #841F21 #53841F #1F8483
split-complementary
#501F84 #84831F #21841F
monochromatic
#140821 #321352 #501F84 #6E2BB6 #8D49D4

Accessibility & contrast

On white

11.23
#501F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501F84
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501F84#FFFFFF#000000##FFFFFF
##501F841.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501f84;
/* rgb */ color: rgb(80, 31, 132);
/* oklch */ color: oklch(37.1% 0.158 300.9);
Tailwind
colors: {
  custom: {
    50: '#8660a9',
    500: '#501f84',
    950: '#000000',
  },
}
SCSS
$custom: #501f84;
$custom-light: #8660a9;
$custom-dark: #000000;
JSON
{
  "hex": "#501f84",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 269.109,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37102,
    "c": 0.15787,
    "h": 300.9
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#501F84
secondary
#81B748
accent
#E54396
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501F84

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

Preview Lab → · Contrast checker → · Palette generator →

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