#501C7A#501C7A

#501C7A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.150 H 305.0°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#501C7A
RGBrgb(80, 28, 122)
HSLhsl(273, 63%, 29%)
HSVhsv(273, 77%, 48%)
CMYKcmyk(34.4%, 77%, 0%, 52.2%)
CIE-LABlab(23.48, 41.75, -43.28)
CIE-LCHlch(23.48, 60.14, 313.97°)
OKLaboklab(35.91% 0.0864 -0.1232)
OKLCHoklch(35.91% 0.15 305)
XYZxyz(7.2356, 3.9412, 18.7881)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C7A #467A1C
analogous
#211C7A #501C7A #7A1C75
triadic
#501C7A #7A501C #1C7A50
tetradic
#501C7A #7A211C #467A1C #1C757A
square
#501C7A #7A211C #467A1C #1C757A
split-complementary
#501C7A #757A1C #1C7A21
monochromatic
#100619 #2F1148 #501C7A #7127AC #903ED3

Accessibility & contrast

On white

11.74
#501C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#501C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C7A
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C7A#FFFFFF#000000##FFFFFF
##501C7A1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003878
Tritanopia (blue-blind)
#48334A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501c7a;
/* rgb */ color: rgb(80, 28, 122);
/* oklch */ color: oklch(35.9% 0.150 305.0);
Tailwind
colors: {
  custom: {
    50: '#865ea1',
    500: '#501c7a',
    950: '#000000',
  },
}
SCSS
$custom: #501c7a;
$custom-light: #865ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#501c7a",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 273.191,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35905,
    "c": 0.15043,
    "h": 305
  },
  "luminance": 0.03941
}

Semantic roles & 50–950 ramp

primary
#501C7A
secondary
#73AE44
accent
#E6428B
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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