#501472#501472

#501472 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.151 H 309.4°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#501472
RGBrgb(80, 20, 114)
HSLhsl(278, 70%, 26%)
HSVhsv(278, 82%, 45%)
CMYKcmyk(29.8%, 82.5%, 0%, 55.3%)
CIE-LABlab(21.66, 43.15, -41.12)
CIE-LCHlch(21.66, 59.60, 316.38°)
OKLaboklab(34.42% 0.0958 -0.1167)
OKLCHoklch(34.42% 0.151 309.4)
XYZxyz(6.5951, 3.4208, 16.2292)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501472 #367214
analogous
#211472 #501472 #721465
triadic
#501472 #725014 #147250
tetradic
#501472 #722114 #367214 #146572
square
#501472 #722114 #367214 #146572
split-complementary
#501472 #657214 #147221
monochromatic
#12051A #2B0B3E #501472 #751DA6 #9927D9

Accessibility & contrast

On white

12.47
#501472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#501472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501472
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501472#FFFFFF#000000##FFFFFF
##5014721.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#4B2C43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501472;
/* rgb */ color: rgb(80, 20, 114);
/* oklch */ color: oklch(34.4% 0.151 309.4);
Tailwind
colors: {
  custom: {
    50: '#855a9b',
    500: '#501472',
    950: '#000000',
  },
}
SCSS
$custom: #501472;
$custom-light: #855a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#501472",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 278.298,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34417,
    "c": 0.15102,
    "h": 309.4
  },
  "luminance": 0.03421
}

Semantic roles & 50–950 ramp

primary
#501472
secondary
#62A839
accent
#ED3B7B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501472

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

Preview Lab → · Contrast checker → · Palette generator →

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