#501A9F#501A9F

#501A9F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.1% C 0.192 H 293.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#501A9F
RGBrgb(80, 26, 159)
HSLhsl(264, 72%, 36%)
HSVhsv(264, 84%, 62%)
CMYKcmyk(49.7%, 83.6%, 0%, 37.6%)
CIE-LABlab(26.58, 51.97, -61.23)
CIE-LCHlch(26.58, 80.31, 310.33°)
OKLaboklab(39.11% 0.0768 -0.1758)
OKLCHoklch(39.11% 0.192 293.6)
XYZxyz(9.9339, 4.9471, 33.2256)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501A9F #699F1A
analogous
#1A279F #501A9F #931A9F
triadic
#501A9F #9F501A #1A9F50
tetradic
#501A9F #9F1A27 #699F1A #1A9F93
square
#501A9F #9F1A27 #699F1A #1A9F93
split-complementary
#501A9F #9F931A #279F1A
monochromatic
#1B0936 #36116A #501A9F #6A23D4 #8C51E3

Accessibility & contrast

On white

10.56
#501A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#501A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501A9F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501A9F#FFFFFF#000000##FFFFFF
##501A9F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#37425E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #501a9f;
/* rgb */ color: rgb(80, 26, 159);
/* oklch */ color: oklch(39.1% 0.192 293.6);
Tailwind
colors: {
  custom: {
    50: '#8a5fbd',
    500: '#501a9f',
    950: '#000000',
  },
}
SCSS
$custom: #501a9f;
$custom-light: #8a5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#501a9f",
  "rgb": {
    "r": 80,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 264.361,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3911,
    "c": 0.19184,
    "h": 293.6
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#501A9F
secondary
#95C550
accent
#EF39A5
background
#F9F5FB
surface
#F1EAF7
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #501A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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