#501D72#501D72

#501D72 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.140 H 308.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#501D72
RGBrgb(80, 29, 114)
HSLhsl(276, 59%, 28%)
HSVhsv(276, 75%, 45%)
CMYKcmyk(29.8%, 74.6%, 0%, 55.3%)
CIE-LABlab(23.00, 39.32, -38.94)
CIE-LCHlch(23.00, 55.34, 315.28°)
OKLaboklab(35.36% 0.0868 -0.1104)
OKLCHoklch(35.36% 0.14 308.2)
XYZxyz(6.7843, 3.7992, 16.2923)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501D72 #3F721D
analogous
#251D72 #501D72 #721D69
triadic
#501D72 #72501D #1D7250
tetradic
#501D72 #72251D #3F721D #1D6972
square
#501D72 #72251D #3F721D #1D6972
split-complementary
#501D72 #69721D #1D7225
monochromatic
#110618 #2E1141 #501D72 #7229A3 #933CCD

Accessibility & contrast

On white

11.93
#501D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#501D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501D72
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501D72#FFFFFF#000000##FFFFFF
##501D721.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#063770
Tritanopia (blue-blind)
#4B3045
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501d72;
/* rgb */ color: rgb(80, 29, 114);
/* oklch */ color: oklch(35.4% 0.140 308.2);
Tailwind
colors: {
  custom: {
    50: '#855e9b',
    500: '#501d72',
    950: '#000000',
  },
}
SCSS
$custom: #501d72;
$custom-light: #855e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#501d72",
  "rgb": {
    "r": 80,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 276,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.14048,
    "h": 308.2
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#501D72
secondary
#6CA645
accent
#E34584
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501D72

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

Preview Lab → · Contrast checker → · Palette generator →

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