#501779#501779

#501779 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.155 H 306.1°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#501779
RGBrgb(80, 23, 121)
HSLhsl(275, 68%, 28%)
HSVhsv(275, 81%, 47%)
CMYKcmyk(33.9%, 81%, 0%, 52.5%)
CIE-LABlab(22.65, 43.64, -43.99)
CIE-LCHlch(22.65, 61.96, 314.77°)
OKLaboklab(35.3% 0.0913 -0.1252)
OKLCHoklch(35.3% 0.155 306.1)
XYZxyz(7.0651, 3.6988, 18.4272)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501779 #407917
analogous
#1F1779 #501779 #791771
triadic
#501779 #795017 #177950
tetradic
#501779 #791F17 #407917 #177179
square
#501779 #791F17 #407917 #177179
split-complementary
#501779 #717917 #17791F
monochromatic
#11051A #2E0D46 #501779 #7221AC #9332D8

Accessibility & contrast

On white

12.07
#501779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#501779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501779
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501779#FFFFFF#000000##FFFFFF
##5017791.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#493048
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501779;
/* rgb */ color: rgb(80, 23, 121);
/* oklch */ color: oklch(35.3% 0.155 306.1);
Tailwind
colors: {
  custom: {
    50: '#865ba0',
    500: '#501779',
    950: '#000000',
  },
}
SCSS
$custom: #501779;
$custom-light: #865ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#501779",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 274.898,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35298,
    "c": 0.15499,
    "h": 306.1
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#501779
secondary
#6DAE3E
accent
#EB3D86
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501779

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

Preview Lab → · Contrast checker → · Palette generator →

#501779 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva