#501D79#501D79

#501D79 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.148 H 305.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#501D79
RGBrgb(80, 29, 121)
HSLhsl(273, 61%, 29%)
HSVhsv(273, 76%, 47%)
CMYKcmyk(33.9%, 76%, 0%, 52.5%)
CIE-LABlab(23.55, 41.05, -42.52)
CIE-LCHlch(23.55, 59.10, 313.99°)
OKLaboklab(35.94% 0.0856 -0.1209)
OKLCHoklch(35.94% 0.148 305.3)
XYZxyz(7.1980, 3.9647, 18.4715)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D79 #46791D
analogous
#221D79 #501D79 #791D74
triadic
#501D79 #79501D #1D7950
tetradic
#501D79 #79221D #46791D #1D7479
square
#501D79 #79221D #46791D #1D7479
split-complementary
#501D79 #74791D #1D7922
monochromatic
#100619 #2F1148 #501D79 #7129AA #903FD1

Accessibility & contrast

On white

11.71
#501D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#501D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D79
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D79#FFFFFF#000000##FFFFFF
##501D791.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#483349
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #501d79;
/* rgb */ color: rgb(80, 29, 121);
/* oklch */ color: oklch(35.9% 0.148 305.3);
Tailwind
colors: {
  custom: {
    50: '#855ea0',
    500: '#501d79',
    950: '#000000',
  },
}
SCSS
$custom: #501d79;
$custom-light: #855ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#501d79",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 273.261,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35935,
    "c": 0.14814,
    "h": 305.3
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#501D79
secondary
#73AD45
accent
#E4438B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050F
muted
#7C797E

Preview Lab

Preview with #501D79

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

Preview Lab → · Contrast checker → · Palette generator →

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