#501EA7#501EA7

#501EA7 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.197 H 291.2°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#501EA7
RGBrgb(80, 30, 167)
HSLhsl(262, 70%, 39%)
HSVhsv(262, 82%, 65%)
CMYKcmyk(52.1%, 82%, 0%, 34.5%)
CIE-LABlab(27.91, 52.51, -63.90)
CIE-LCHlch(27.91, 82.71, 309.41°)
OKLaboklab(40.26% 0.0714 -0.1837)
OKLCHoklch(40.26% 0.197 291.2)
XYZxyz(10.7456, 5.4236, 37.0324)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501EA7 #75A71E
analogous
#1E30A7 #501EA7 #941EA7
triadic
#501EA7 #A7501E #1EA750
tetradic
#501EA7 #A71E30 #75A71E #1EA794
square
#501EA7 #A71E30 #75A71E #1EA794
split-complementary
#501EA7 #A7941E #30A71E
monochromatic
#1E0B3F #371573 #501EA7 #692AD9 #8E5DE2

Accessibility & contrast

On white

10.07
#501EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501EA7
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501EA7#FFFFFF#000000##FFFFFF
##501EA71.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#314764
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #501ea7;
/* rgb */ color: rgb(80, 30, 167);
/* oklch */ color: oklch(40.3% 0.197 291.2);
Tailwind
colors: {
  custom: {
    50: '#8b61c2',
    500: '#501ea7',
    950: '#000000',
  },
}
SCSS
$custom: #501ea7;
$custom-light: #8b61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#501ea7",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 261.898,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40264,
    "c": 0.19704,
    "h": 291.2
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#501EA7
secondary
#9FC65B
accent
#EC3BAC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #501EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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