#501C8D#501C8D

#501C8D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.171 H 298.4°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#501C8D
RGBrgb(80, 28, 141)
HSLhsl(268, 67%, 33%)
HSVhsv(268, 80%, 55%)
CMYKcmyk(43.3%, 80.1%, 0%, 44.7%)
CIE-LABlab(25.13, 46.56, -52.53)
CIE-LCHlch(25.13, 70.19, 311.55°)
OKLaboklab(37.58% 0.0814 -0.1503)
OKLCHoklch(37.58% 0.171 298.4)
XYZxyz(8.5300, 4.4589, 25.6054)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C8D #598D1C
analogous
#1C208D #501C8D #881C8D
triadic
#501C8D #8D501C #1C8D50
tetradic
#501C8D #8D1C20 #598D1C #1C8D88
square
#501C8D #8D1C20 #598D1C #1C8D88
split-complementary
#501C8D #8D881C #208D1C
monochromatic
#160827 #33125A #501C8D #6D26C0 #8C49DB

Accessibility & contrast

On white

11.10
#501C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501C8D
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C8D#FFFFFF#000000##FFFFFF
##501C8D1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#413B54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #501c8d;
/* rgb */ color: rgb(80, 28, 141);
/* oklch */ color: oklch(37.6% 0.171 298.4);
Tailwind
colors: {
  custom: {
    50: '#885faf',
    500: '#501c8d',
    950: '#000000',
  },
}
SCSS
$custom: #501c8d;
$custom-light: #885faf;
$custom-dark: #000000;
JSON
{
  "hex": "#501c8d",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 267.611,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37582,
    "c": 0.17094,
    "h": 298.4
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#501C8D
secondary
#87BD48
accent
#EA3E9B
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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