#501C83#501C83

#501C83 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.160 H 301.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#501C83
RGBrgb(80, 28, 131)
HSLhsl(270, 65%, 31%)
HSVhsv(270, 79%, 51%)
CMYKcmyk(38.9%, 78.6%, 0%, 48.6%)
CIE-LABlab(24.24, 44.01, -47.73)
CIE-LCHlch(24.24, 64.93, 312.68°)
OKLaboklab(36.68% 0.0842 -0.1362)
OKLCHoklch(36.68% 0.16 301.7)
XYZxyz(7.8193, 4.1746, 21.8622)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C83 #4F831C
analogous
#1C1C83 #501C83 #831C82
triadic
#501C83 #83501C #1C8350
tetradic
#501C83 #831C1C #4F831C #1C8283
square
#501C83 #831C1C #4F831C #1C8283
split-complementary
#501C83 #82831C #1C831C
monochromatic
#12061E #311151 #501C83 #6F27B5 #8D43D7

Accessibility & contrast

On white

11.44
#501C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#501C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C83
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C83#FFFFFF#000000##FFFFFF
##501C831.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#45374F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501c83;
/* rgb */ color: rgb(80, 28, 131);
/* oklch */ color: oklch(36.7% 0.160 301.7);
Tailwind
colors: {
  custom: {
    50: '#865ea8',
    500: '#501c83',
    950: '#000000',
  },
}
SCSS
$custom: #501c83;
$custom-light: #865ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#501c83",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 270.291,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36681,
    "c": 0.16017,
    "h": 301.7
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#501C83
secondary
#7DB645
accent
#E84093
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501C83

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

Preview Lab → · Contrast checker → · Palette generator →

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