#501C91#501C91

#501C91 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.175 H 297.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#501C91
RGBrgb(80, 28, 145)
HSLhsl(267, 68%, 34%)
HSVhsv(267, 81%, 57%)
CMYKcmyk(44.8%, 80.7%, 0%, 43.1%)
CIE-LABlab(25.50, 47.58, -54.40)
CIE-LCHlch(25.50, 72.28, 311.17°)
OKLaboklab(37.95% 0.0801 -0.1558)
OKLCHoklch(37.95% 0.175 297.2)
XYZxyz(8.8330, 4.5801, 27.2012)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C91 #5D911C
analogous
#1C2291 #501C91 #8B1C91
triadic
#501C91 #91501C #1C9150
tetradic
#501C91 #911C22 #5D911C #1C918B
square
#501C91 #911C22 #5D911C #1C918B
split-complementary
#501C91 #918B1C #22911C
monochromatic
#17082A #34125E #501C91 #6C26C4 #8C4BDC

Accessibility & contrast

On white

10.96
#501C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#501C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C91
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C91#FFFFFF#000000##FFFFFF
##501C911.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#3F3D57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #501c91;
/* rgb */ color: rgb(80, 28, 145);
/* oklch */ color: oklch(38.0% 0.175 297.2);
Tailwind
colors: {
  custom: {
    50: '#885fb2',
    500: '#501c91',
    950: '#000000',
  },
}
SCSS
$custom: #501c91;
$custom-light: #885fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#501c91",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 266.667,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37952,
    "c": 0.17523,
    "h": 297.2
  },
  "luminance": 0.0458
}

Semantic roles & 50–950 ramp

primary
#501C91
secondary
#8BBE4A
accent
#EB3D9E
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501C91

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

Preview Lab → · Contrast checker → · Palette generator →

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