#501E72#501E72

#501E72 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.139 H 308.0°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#501E72
RGBrgb(80, 30, 114)
HSLhsl(276, 58%, 28%)
HSVhsv(276, 74%, 45%)
CMYKcmyk(29.8%, 73.7%, 0%, 55.3%)
CIE-LABlab(23.17, 38.84, -38.67)
CIE-LCHlch(23.17, 54.81, 315.13°)
OKLaboklab(35.48% 0.0857 -0.1096)
OKLCHoklch(35.48% 0.139 308)
XYZxyz(6.8092, 3.8490, 16.3006)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E72 #40721E
analogous
#261E72 #501E72 #721E6A
triadic
#501E72 #72501E #1E7250
tetradic
#501E72 #72261E #40721E #1E6A72
square
#501E72 #72261E #40721E #1E6A72
split-complementary
#501E72 #6A721E #1E7226
monochromatic
#110618 #2E1142 #501E72 #722BA2 #933ECC

Accessibility & contrast

On white

11.87
#501E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501E72
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E72#FFFFFF#000000##FFFFFF
##501E721.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501e72;
/* rgb */ color: rgb(80, 30, 114);
/* oklch */ color: oklch(35.5% 0.139 308.0);
Tailwind
colors: {
  custom: {
    50: '#855f9b',
    500: '#501e72',
    950: '#000000',
  },
}
SCSS
$custom: #501e72;
$custom-light: #855f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#501e72",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 275.714,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35484,
    "c": 0.13916,
    "h": 308
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#501E72
secondary
#6DA646
accent
#E24685
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #501E72

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

Preview Lab → · Contrast checker → · Palette generator →

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