#501F83#501F83

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

Color values

HEX#501F83
RGBrgb(80, 31, 131)
HSLhsl(269, 62%, 32%)
HSVhsv(269, 76%, 51%)
CMYKcmyk(38.9%, 76.3%, 0%, 48.6%)
CIE-LABlab(24.72, 42.65, -46.96)
CIE-LCHlch(24.72, 63.44, 312.25°)
OKLaboklab(37.02% 0.0814 -0.134)
OKLCHoklch(37.02% 0.157 301.3)
XYZxyz(7.8940, 4.3241, 21.8871)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501F83 #52831F
analogous
#1F2083 #501F83 #821F83
triadic
#501F83 #83501F #1F8350
tetradic
#501F83 #831F20 #52831F #1F8382
square
#501F83 #831F20 #52831F #1F8382
split-complementary
#501F83 #83821F #20831F
monochromatic
#140820 #321352 #501F83 #6E2BB4 #8D49D4

Accessibility & contrast

On white

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

On black

1.86
#501F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##501F83#FFFFFF#000000##FFFFFF
##501F831.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501f83;
/* rgb */ color: rgb(80, 31, 131);
/* oklch */ color: oklch(37.0% 0.157 301.3);
Tailwind
colors: {
  custom: {
    50: '#8660a8',
    500: '#501f83',
    950: '#000000',
  },
}
SCSS
$custom: #501f83;
$custom-light: #8660a8;
$custom-dark: #000000;
JSON
{
  "hex": "#501f83",
  "rgb": {
    "r": 80,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 269.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37015,
    "c": 0.15676,
    "h": 301.3
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#501F83
secondary
#80B648
accent
#E54396
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501F83

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

Preview Lab → · Contrast checker → · Palette generator →

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