#501C8C#501C8C

#501C8C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.170 H 298.7°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#501C8C
RGBrgb(80, 28, 140)
HSLhsl(268, 67%, 33%)
HSVhsv(268, 80%, 55%)
CMYKcmyk(42.9%, 80%, 0%, 45.1%)
CIE-LABlab(25.04, 46.30, -52.06)
CIE-LCHlch(25.04, 69.67, 311.65°)
OKLaboklab(37.49% 0.0817 -0.1489)
OKLCHoklch(37.49% 0.17 298.7)
XYZxyz(8.4559, 4.4293, 25.2153)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C8C #588C1C
analogous
#1C208C #501C8C #881C8C
triadic
#501C8C #8C501C #1C8C50
tetradic
#501C8C #8C1C20 #588C1C #1C8C88
square
#501C8C #8C1C20 #588C1C #1C8C88
split-complementary
#501C8C #8C881C #208C1C
monochromatic
#160826 #331259 #501C8C #6D26BF #8C48DA

Accessibility & contrast

On white

11.14
#501C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#501C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C8C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C8C#FFFFFF#000000##FFFFFF
##501C8C1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#413B54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #501c8c;
/* rgb */ color: rgb(80, 28, 140);
/* oklch */ color: oklch(37.5% 0.170 298.7);
Tailwind
colors: {
  custom: {
    50: '#875faf',
    500: '#501c8c',
    950: '#000000',
  },
}
SCSS
$custom: #501c8c;
$custom-light: #875faf;
$custom-dark: #000000;
JSON
{
  "hex": "#501c8c",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 267.857,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.16986,
    "h": 298.7
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#501C8C
secondary
#86BC48
accent
#EA3E9A
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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