#501E7A#501E7A

#501E7A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.148 H 304.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#501E7A
RGBrgb(80, 30, 122)
HSLhsl(273, 61%, 30%)
HSVhsv(273, 75%, 48%)
CMYKcmyk(34.4%, 75.4%, 0%, 52.2%)
CIE-LABlab(23.80, 40.83, -42.76)
CIE-LCHlch(23.80, 59.12, 313.68°)
OKLaboklab(36.13% 0.0843 -0.1216)
OKLCHoklch(36.13% 0.148 304.7)
XYZxyz(7.2846, 4.0392, 18.8045)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501E7A #487A1E
analogous
#221E7A #501E7A #7A1E76
triadic
#501E7A #7A501E #1E7A50
tetradic
#501E7A #7A221E #487A1E #1E767A
square
#501E7A #7A221E #487A1E #1E767A
split-complementary
#501E7A #767A1E #1E7A22
monochromatic
#100619 #301249 #501E7A #702AAB #8F42D0

Accessibility & contrast

On white

11.62
#501E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#501E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501E7A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501E7A#FFFFFF#000000##FFFFFF
##501E7A1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#48344A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #501e7a;
/* rgb */ color: rgb(80, 30, 122);
/* oklch */ color: oklch(36.1% 0.148 304.7);
Tailwind
colors: {
  custom: {
    50: '#855fa1',
    500: '#501e7a',
    950: '#000000',
  },
}
SCSS
$custom: #501e7a;
$custom-light: #855fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#501e7a",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 272.609,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36134,
    "c": 0.148,
    "h": 304.7
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#501E7A
secondary
#75AE46
accent
#E4448D
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #501E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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