#501CA1#501CA1

#501CA1 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.5% C 0.192 H 292.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#501CA1
RGBrgb(80, 28, 161)
HSLhsl(263, 70%, 37%)
HSVhsv(263, 83%, 63%)
CMYKcmyk(50.3%, 82.6%, 0%, 36.9%)
CIE-LABlab(27.04, 51.73, -61.69)
CIE-LCHlch(27.04, 80.51, 309.98°)
OKLaboklab(39.49% 0.0748 -0.1772)
OKLCHoklch(39.49% 0.192 292.9)
XYZxyz(10.1547, 5.1088, 34.1624)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501CA1 #6DA11C
analogous
#1C2AA1 #501CA1 #931CA1
triadic
#501CA1 #A1501C #1CA150
tetradic
#501CA1 #A11C2A #6DA11C #1CA193
square
#501CA1 #A11C2A #6DA11C #1CA193
split-complementary
#501CA1 #A1931C #2AA11C
monochromatic
#1C0A39 #36136D #501CA1 #6A25D5 #8C56E2

Accessibility & contrast

On white

10.39
#501CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#501CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501CA1
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501CA1#FFFFFF#000000##FFFFFF
##501CA11.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501ca1;
/* rgb */ color: rgb(80, 28, 161);
/* oklch */ color: oklch(39.5% 0.192 292.9);
Tailwind
colors: {
  custom: {
    50: '#8a60be',
    500: '#501ca1',
    950: '#000000',
  },
}
SCSS
$custom: #501ca1;
$custom-light: #8a60be;
$custom-dark: #000000;
JSON
{
  "hex": "#501ca1",
  "rgb": {
    "r": 80,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 263.459,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.19231,
    "h": 292.9
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#501CA1
secondary
#99C554
accent
#ED3BA7
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #501CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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