#501D77#501D77

#501D77 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.146 H 306.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#501D77
RGBrgb(80, 29, 119)
HSLhsl(274, 61%, 29%)
HSVhsv(274, 76%, 47%)
CMYKcmyk(32.8%, 75.6%, 0%, 53.3%)
CIE-LABlab(23.39, 40.55, -41.51)
CIE-LCHlch(23.39, 58.03, 314.33°)
OKLaboklab(35.77% 0.086 -0.118)
OKLCHoklch(35.77% 0.146 306.1)
XYZxyz(7.0767, 3.9162, 17.8323)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D77 #44771D
analogous
#231D77 #501D77 #771D71
triadic
#501D77 #77501D #1D7750
tetradic
#501D77 #77231D #44771D #1D7177
square
#501D77 #77231D #44771D #1D7177
split-complementary
#501D77 #71771D #1D7723
monochromatic
#110619 #2F1146 #501D77 #7129A8 #913ED0

Accessibility & contrast

On white

11.78
#501D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501D77
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D77#FFFFFF#000000##FFFFFF
##501D771.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501d77;
/* rgb */ color: rgb(80, 29, 119);
/* oklch */ color: oklch(35.8% 0.146 306.1);
Tailwind
colors: {
  custom: {
    50: '#855e9f',
    500: '#501d77',
    950: '#000000',
  },
}
SCSS
$custom: #501d77;
$custom-light: #855e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#501d77",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 119
  },
  "hsl": {
    "h": 274,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35769,
    "c": 0.14595,
    "h": 306.1
  },
  "luminance": 0.03916
}

Semantic roles & 50–950 ramp

primary
#501D77
secondary
#71AB45
accent
#E44489
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501D77

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

Preview Lab → · Contrast checker → · Palette generator →

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