#501C77#501C77

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

Color values

HEX#501C77
RGBrgb(80, 28, 119)
HSLhsl(274, 62%, 29%)
HSVhsv(274, 76%, 47%)
CMYKcmyk(32.8%, 76.5%, 0%, 53.3%)
CIE-LABlab(23.23, 41.01, -41.77)
CIE-LCHlch(23.23, 58.54, 314.48°)
OKLaboklab(35.65% 0.087 -0.1187)
OKLCHoklch(35.65% 0.147 306.2)
XYZxyz(7.0526, 3.8680, 17.8242)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501C77 #43771C
analogous
#231C77 #501C77 #771C71
triadic
#501C77 #77501C #1C7750
tetradic
#501C77 #77231C #43771C #1C7177
square
#501C77 #77231C #43771C #1C7177
split-complementary
#501C77 #71771C #1C7723
monochromatic
#110619 #2F1045 #501C77 #7128A9 #913CD1

Accessibility & contrast

On white

11.84
#501C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#501C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501C77
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501C77#FFFFFF#000000##FFFFFF
##501C771.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#493248
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501c77;
/* rgb */ color: rgb(80, 28, 119);
/* oklch */ color: oklch(35.7% 0.147 306.2);
Tailwind
colors: {
  custom: {
    50: '#855e9f',
    500: '#501c77',
    950: '#000000',
  },
}
SCSS
$custom: #501c77;
$custom-light: #855e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#501c77",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 274.286,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35654,
    "c": 0.14719,
    "h": 306.2
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#501C77
secondary
#70AB44
accent
#E54388
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501C77

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

Preview Lab → · Contrast checker → · Palette generator →

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