#501C8B#501C8B

#501C8B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.169 H 299.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#501C8B
RGBrgb(80, 28, 139)
HSLhsl(268, 66%, 33%)
HSVhsv(268, 80%, 55%)
CMYKcmyk(42.4%, 79.9%, 0%, 45.5%)
CIE-LABlab(24.95, 46.04, -51.58)
CIE-LCHlch(24.95, 69.14, 311.75°)
OKLaboklab(37.4% 0.082 -0.1475)
OKLCHoklch(37.4% 0.169 299.1)
XYZxyz(8.3825, 4.3999, 24.8287)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C8B #578B1C
analogous
#1C208B #501C8B #871C8B
triadic
#501C8B #8B501C #1C8B50
tetradic
#501C8B #8B1C20 #578B1C #1C8B87
square
#501C8B #8B1C20 #578B1C #1C8B87
split-complementary
#501C8B #8B871C #208B1C
monochromatic
#150725 #331258 #501C8B #6D26BE #8C47DA

Accessibility & contrast

On white

11.17
#501C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#501C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C8B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C8B#FFFFFF#000000##FFFFFF
##501C8B1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501c8b;
/* rgb */ color: rgb(80, 28, 139);
/* oklch */ color: oklch(37.4% 0.169 299.1);
Tailwind
colors: {
  custom: {
    50: '#875fae',
    500: '#501c8b',
    950: '#000000',
  },
}
SCSS
$custom: #501c8b;
$custom-light: #875fae;
$custom-dark: #000000;
JSON
{
  "hex": "#501c8b",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 268.108,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37399,
    "c": 0.16879,
    "h": 299.1
  },
  "luminance": 0.044
}

Semantic roles & 50–950 ramp

primary
#501C8B
secondary
#85BC47
accent
#E93E99
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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