#501E71#501E71

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

Color values

HEX#501E71
RGBrgb(80, 30, 113)
HSLhsl(276, 58%, 28%)
HSVhsv(276, 73%, 44%)
CMYKcmyk(29.2%, 73.5%, 0%, 55.7%)
CIE-LABlab(23.09, 38.60, -38.15)
CIE-LCHlch(23.09, 54.27, 315.33°)
OKLaboklab(35.41% 0.0859 -0.1081)
OKLCHoklch(35.41% 0.138 308.5)
XYZxyz(6.7526, 3.8264, 16.0024)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E71 #3F711E
analogous
#271E71 #501E71 #711E68
triadic
#501E71 #71501E #1E7150
tetradic
#501E71 #71271E #3F711E #1E6871
square
#501E71 #71271E #3F711E #1E6871
split-complementary
#501E71 #68711E #1E7127
monochromatic
#110618 #2E1141 #501E71 #722BA1 #933ECC

Accessibility & contrast

On white

11.90
#501E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#501E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E71
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E71#FFFFFF#000000##FFFFFF
##501E711.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#0A386F
Tritanopia (blue-blind)
#4B3145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501e71;
/* rgb */ color: rgb(80, 30, 113);
/* oklch */ color: oklch(35.4% 0.138 308.5);
Tailwind
colors: {
  custom: {
    50: '#855e9a',
    500: '#501e71',
    950: '#000000',
  },
}
SCSS
$custom: #501e71;
$custom-light: #855e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#501e71",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 276.145,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35405,
    "c": 0.13806,
    "h": 308.5
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#501E71
secondary
#6CA546
accent
#E14784
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501E71

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

Preview Lab → · Contrast checker → · Palette generator →

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