#501EA1#501EA1

#501EA1 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.191 H 292.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#501EA1
RGBrgb(80, 30, 161)
HSLhsl(263, 69%, 37%)
HSVhsv(263, 81%, 63%)
CMYKcmyk(50.3%, 81.4%, 0%, 36.9%)
CIE-LABlab(27.32, 50.93, -61.24)
CIE-LCHlch(27.32, 79.65, 309.75°)
OKLaboklab(39.68% 0.0734 -0.1759)
OKLCHoklch(39.68% 0.191 292.7)
XYZxyz(10.2038, 5.2069, 34.1787)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501EA1 #6FA11E
analogous
#1E2DA1 #501EA1 #921EA1
triadic
#501EA1 #A1501E #1EA150
tetradic
#501EA1 #A11E2D #6FA11E #1EA192
square
#501EA1 #A11E2D #6FA11E #1EA192
split-complementary
#501EA1 #A1921E #2DA11E
monochromatic
#1D0B3A #36146D #501EA1 #6A28D5 #8D59E0

Accessibility & contrast

On white

10.29
#501EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#501EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501EA1
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501EA1#FFFFFF#000000##FFFFFF
##501EA11.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#354460
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #501ea1;
/* rgb */ color: rgb(80, 30, 161);
/* oklch */ color: oklch(39.7% 0.191 292.7);
Tailwind
colors: {
  custom: {
    50: '#8a61be',
    500: '#501ea1',
    950: '#000000',
  },
}
SCSS
$custom: #501ea1;
$custom-light: #8a61be;
$custom-dark: #000000;
JSON
{
  "hex": "#501ea1",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 262.901,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.19059,
    "h": 292.7
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#501EA1
secondary
#9AC457
accent
#EB3CA9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #501EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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