#501C97#501C97

#501C97 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.182 H 295.5°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#501C97
RGBrgb(80, 28, 151)
HSLhsl(265, 69%, 35%)
HSVhsv(265, 81%, 59%)
CMYKcmyk(47%, 81.5%, 0%, 40.8%)
CIE-LABlab(26.07, 49.13, -57.18)
CIE-LCHlch(26.07, 75.39, 310.67°)
OKLaboklab(38.52% 0.0782 -0.164)
OKLCHoklch(38.52% 0.182 295.5)
XYZxyz(9.3079, 4.7701, 29.7025)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C97 #63971C
analogous
#1C2597 #501C97 #8E1C97
triadic
#501C97 #97501C #1C9750
tetradic
#501C97 #971C25 #63971C #1C978E
square
#501C97 #971C25 #63971C #1C978E
split-complementary
#501C97 #978E1C #25971C
monochromatic
#190930 #351263 #501C97 #6B26CB #8C4FDE

Accessibility & contrast

On white

10.75
#501C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#501C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C97
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C97#FFFFFF#000000##FFFFFF
##501C971.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#3C3F5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #501c97;
/* rgb */ color: rgb(80, 28, 151);
/* oklch */ color: oklch(38.5% 0.182 295.5);
Tailwind
colors: {
  custom: {
    50: '#8960b7',
    500: '#501c97',
    950: '#000000',
  },
}
SCSS
$custom: #501c97;
$custom-light: #8960b7;
$custom-dark: #000000;
JSON
{
  "hex": "#501c97",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 265.366,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38518,
    "c": 0.18165,
    "h": 295.5
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#501C97
secondary
#90C14E
accent
#EC3CA1
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501C97

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

Preview Lab → · Contrast checker → · Palette generator →

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