#501E7D#501E7D

#501E7D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.151 H 303.6°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#501E7D
RGBrgb(80, 30, 125)
HSLhsl(272, 61%, 30%)
HSVhsv(272, 76%, 49%)
CMYKcmyk(36%, 76%, 0%, 51%)
CIE-LABlab(24.05, 41.59, -44.26)
CIE-LCHlch(24.05, 60.73, 313.22°)
OKLaboklab(36.39% 0.0837 -0.1261)
OKLCHoklch(36.39% 0.151 303.6)
XYZxyz(7.4733, 4.1147, 19.7986)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E7D #4B7D1E
analogous
#211E7D #501E7D #7D1E7A
triadic
#501E7D #7D501E #1E7D50
tetradic
#501E7D #7D211E #4B7D1E #1E7A7D
square
#501E7D #7D211E #4B7D1E #1E7A7D
split-complementary
#501E7D #7A7D1E #1E7D21
monochromatic
#11061A #30124C #501E7D #702AAE #8E43D2

Accessibility & contrast

On white

11.52
#501E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#501E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E7D
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E7D#FFFFFF#000000##FFFFFF
##501E7D1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#47354C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #501e7d;
/* rgb */ color: rgb(80, 30, 125);
/* oklch */ color: oklch(36.4% 0.151 303.6);
Tailwind
colors: {
  custom: {
    50: '#865fa3',
    500: '#501e7d',
    950: '#000000',
  },
}
SCSS
$custom: #501e7d;
$custom-light: #865fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#501e7d",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 271.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36386,
    "c": 0.15131,
    "h": 303.6
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#501E7D
secondary
#79B046
accent
#E44390
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #501E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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