#501C8A#501C8A

#501C8A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.168 H 299.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#501C8A
RGBrgb(80, 28, 138)
HSLhsl(268, 66%, 33%)
HSVhsv(268, 80%, 54%)
CMYKcmyk(42%, 79.7%, 0%, 45.9%)
CIE-LABlab(24.86, 45.79, -51.11)
CIE-LCHlch(24.86, 68.62, 311.86°)
OKLaboklab(37.31% 0.0823 -0.1461)
OKLCHoklch(37.31% 0.168 299.4)
XYZxyz(8.3098, 4.3709, 24.4457)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C8A #568A1C
analogous
#1C1F8A #501C8A #871C8A
triadic
#501C8A #8A501C #1C8A50
tetradic
#501C8A #8A1C1F #568A1C #1C8A87
square
#501C8A #8A1C1F #568A1C #1C8A87
split-complementary
#501C8A #8A871C #1F8A1C
monochromatic
#150724 #331257 #501C8A #6D26BD #8C47DA

Accessibility & contrast

On white

11.20
#501C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#501C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C8A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C8A#FFFFFF#000000##FFFFFF
##501C8A1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#423A53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501c8a;
/* rgb */ color: rgb(80, 28, 138);
/* oklch */ color: oklch(37.3% 0.168 299.4);
Tailwind
colors: {
  custom: {
    50: '#875fad',
    500: '#501c8a',
    950: '#000000',
  },
}
SCSS
$custom: #501c8a;
$custom-light: #875fad;
$custom-dark: #000000;
JSON
{
  "hex": "#501c8a",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 268.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37308,
    "c": 0.16771,
    "h": 299.4
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#501C8A
secondary
#84BB46
accent
#E93F99
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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