#501471#501471

#501471 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.150 H 309.8°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#501471
RGBrgb(80, 20, 113)
HSLhsl(279, 70%, 26%)
HSVhsv(279, 82%, 44%)
CMYKcmyk(29.2%, 82.3%, 0%, 55.7%)
CIE-LABlab(21.57, 42.92, -40.61)
CIE-LCHlch(21.57, 59.09, 316.59°)
OKLaboklab(34.33% 0.096 -0.1152)
OKLCHoklch(34.33% 0.15 309.8)
XYZxyz(6.5385, 3.3982, 15.9311)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501471 #357114
analogous
#211471 #501471 #711463
triadic
#501471 #715014 #147150
tetradic
#501471 #712114 #357114 #146371
square
#501471 #712114 #357114 #146371
split-complementary
#501471 #637114 #147121
monochromatic
#12051A #2B0B3D #501471 #751DA5 #9A27D9

Accessibility & contrast

On white

12.50
#501471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501471
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501471#FFFFFF#000000##FFFFFF
##5014711.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#4B2B43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #501471;
/* rgb */ color: rgb(80, 20, 113);
/* oklch */ color: oklch(34.3% 0.150 309.8);
Tailwind
colors: {
  custom: {
    50: '#855a9a',
    500: '#501471',
    950: '#000000',
  },
}
SCSS
$custom: #501471;
$custom-light: #855a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501471",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 278.71,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34333,
    "c": 0.15001,
    "h": 309.8
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#501471
secondary
#60A739
accent
#ED3B7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #501471

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

Preview Lab → · Contrast checker → · Palette generator →

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