#501EA0#501EA0

#501EA0 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.190 H 292.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#501EA0
RGBrgb(80, 30, 160)
HSLhsl(263, 68%, 37%)
HSVhsv(263, 81%, 63%)
CMYKcmyk(50%, 81.3%, 0%, 37.3%)
CIE-LABlab(27.22, 50.66, -60.79)
CIE-LCHlch(27.22, 79.14, 309.81°)
OKLaboklab(39.58% 0.0738 -0.1746)
OKLCHoklch(39.58% 0.19 292.9)
XYZxyz(10.1159, 5.1717, 33.7161)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501EA0 #6EA01E
analogous
#1E2DA0 #501EA0 #911EA0
triadic
#501EA0 #A0501E #1EA050
tetradic
#501EA0 #A01E2D #6EA01E #1EA091
square
#501EA0 #A01E2D #6EA01E #1EA091
split-complementary
#501EA0 #A0911E #2DA01E
monochromatic
#1C0B39 #36146C #501EA0 #6A28D4 #8D59E0

Accessibility & contrast

On white

10.32
#501EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#501EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501EA0
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501EA0#FFFFFF#000000##FFFFFF
##501EA01.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#364460
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #501ea0;
/* rgb */ color: rgb(80, 30, 160);
/* oklch */ color: oklch(39.6% 0.190 292.9);
Tailwind
colors: {
  custom: {
    50: '#8a61bd',
    500: '#501ea0',
    950: '#000000',
  },
}
SCSS
$custom: #501ea0;
$custom-light: #8a61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#501ea0",
  "rgb": {
    "r": 80,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 263.077,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.18952,
    "h": 292.9
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#501EA0
secondary
#9AC456
accent
#EB3DA8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #501EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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