#501C8F#501C8F

#501C8F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.173 H 297.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#501C8F
RGBrgb(80, 28, 143)
HSLhsl(267, 67%, 34%)
HSVhsv(267, 80%, 56%)
CMYKcmyk(44.1%, 80.4%, 0%, 43.9%)
CIE-LABlab(25.32, 47.07, -53.47)
CIE-LCHlch(25.32, 71.24, 311.36°)
OKLaboklab(37.77% 0.0808 -0.1531)
OKLCHoklch(37.77% 0.173 297.8)
XYZxyz(8.6802, 4.5190, 26.3962)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C8F #5B8F1C
analogous
#1C228F #501C8F #891C8F
triadic
#501C8F #8F501C #1C8F50
tetradic
#501C8F #8F1C22 #5B8F1C #1C8F89
square
#501C8F #8F1C22 #5B8F1C #1C8F89
split-complementary
#501C8F #8F891C #228F1C
monochromatic
#170829 #33125C #501C8F #6D26C2 #8C4ADC

Accessibility & contrast

On white

11.03
#501C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#501C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C8F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C8F#FFFFFF#000000##FFFFFF
##501C8F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#403C55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #501c8f;
/* rgb */ color: rgb(80, 28, 143);
/* oklch */ color: oklch(37.8% 0.173 297.8);
Tailwind
colors: {
  custom: {
    50: '#885fb1',
    500: '#501c8f',
    950: '#000000',
  },
}
SCSS
$custom: #501c8f;
$custom-light: #885fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#501c8f",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 267.13,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37766,
    "c": 0.17309,
    "h": 297.8
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#501C8F
secondary
#89BE49
accent
#EA3E9C
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #501C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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