#501EA6#501EA6

#501EA6 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.2% C 0.196 H 291.5°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#501EA6
RGBrgb(80, 30, 166)
HSLhsl(262, 69%, 38%)
HSVhsv(262, 82%, 65%)
CMYKcmyk(51.8%, 81.9%, 0%, 34.9%)
CIE-LABlab(27.81, 52.24, -63.46)
CIE-LCHlch(27.81, 82.20, 309.46°)
OKLaboklab(40.17% 0.0717 -0.1824)
OKLCHoklch(40.17% 0.196 291.5)
XYZxyz(10.6535, 5.3868, 36.5474)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501EA6 #74A61E
analogous
#1E30A6 #501EA6 #941EA6
triadic
#501EA6 #A6501E #1EA650
tetradic
#501EA6 #A61E30 #74A61E #1EA694
square
#501EA6 #A61E30 #74A61E #1EA694
split-complementary
#501EA6 #A6941E #30A61E
monochromatic
#1E0B3E #371572 #501EA6 #6929D8 #8E5DE2

Accessibility & contrast

On white

10.11
#501EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#501EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501EA6
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501EA6#FFFFFF#000000##FFFFFF
##501EA61.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#324663
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #501ea6;
/* rgb */ color: rgb(80, 30, 166);
/* oklch */ color: oklch(40.2% 0.196 291.5);
Tailwind
colors: {
  custom: {
    50: '#8b61c2',
    500: '#501ea6',
    950: '#000000',
  },
}
SCSS
$custom: #501ea6;
$custom-light: #8b61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#501ea6",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 262.059,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40165,
    "c": 0.19598,
    "h": 291.5
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#501EA6
secondary
#9EC65A
accent
#EC3CAB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #501EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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