#501C78#501C78

#501C78 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.148 H 305.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#501C78
RGBrgb(80, 28, 120)
HSLhsl(274, 62%, 29%)
HSVhsv(274, 77%, 47%)
CMYKcmyk(33.3%, 76.7%, 0%, 52.9%)
CIE-LABlab(23.31, 41.26, -42.28)
CIE-LCHlch(23.31, 59.07, 314.30°)
OKLaboklab(35.74% 0.0868 -0.1202)
OKLCHoklch(35.74% 0.148 305.8)
XYZxyz(7.1129, 3.8921, 18.1422)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C78 #44781C
analogous
#221C78 #501C78 #781C72
triadic
#501C78 #78501C #1C7850
tetradic
#501C78 #78221C #44781C #1C7278
square
#501C78 #78221C #44781C #1C7278
split-complementary
#501C78 #72781C #1C7822
monochromatic
#110619 #2F1046 #501C78 #7128AA #913DD2

Accessibility & contrast

On white

11.81
#501C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#501C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C78
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C78#FFFFFF#000000##FFFFFF
##501C781.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003876
Tritanopia (blue-blind)
#493248
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501c78;
/* rgb */ color: rgb(80, 28, 120);
/* oklch */ color: oklch(35.7% 0.148 305.8);
Tailwind
colors: {
  custom: {
    50: '#855ea0',
    500: '#501c78',
    950: '#000000',
  },
}
SCSS
$custom: #501c78;
$custom-light: #855ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#501c78",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 273.913,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35737,
    "c": 0.14827,
    "h": 305.8
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#501C78
secondary
#71AC44
accent
#E54389
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #501C78

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

Preview Lab → · Contrast checker → · Palette generator →

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