#501B86#501B86

#501B86 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.164 H 300.8°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#501B86
RGBrgb(80, 27, 134)
HSLhsl(270, 66%, 32%)
HSVhsv(270, 80%, 53%)
CMYKcmyk(40.3%, 79.9%, 0%, 47.5%)
CIE-LABlab(24.36, 45.20, -49.43)
CIE-LCHlch(24.36, 66.98, 312.44°)
OKLaboklab(36.84% 0.0843 -0.1412)
OKLCHoklch(36.84% 0.164 300.8)
XYZxyz(8.0022, 4.2105, 22.9408)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501B86 #51861B
analogous
#1B1B86 #501B86 #861B86
triadic
#501B86 #86501B #1B8650
tetradic
#501B86 #861B1B #51861B #1B8686
square
#501B86 #861B1B #51861B #1B8686
split-complementary
#501B86 #86861B #1B861B
monochromatic
#130620 #321153 #501B86 #6E25B9 #8D42D9

Accessibility & contrast

On white

11.40
#501B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#501B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501B86
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501B86#FFFFFF#000000##FFFFFF
##501B861.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#443850
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501b86;
/* rgb */ color: rgb(80, 27, 134);
/* oklch */ color: oklch(36.8% 0.164 300.8);
Tailwind
colors: {
  custom: {
    50: '#875eaa',
    500: '#501b86',
    950: '#000000',
  },
}
SCSS
$custom: #501b86;
$custom-light: #875eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#501b86",
  "rgb": {
    "r": 80,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 269.72,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36843,
    "c": 0.16446,
    "h": 300.8
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

primary
#501B86
secondary
#7FB944
accent
#E93E95
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501B86

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

Preview Lab → · Contrast checker → · Palette generator →

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