#501A8A#501A8A

#501A8A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.170 H 299.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#501A8A
RGBrgb(80, 26, 138)
HSLhsl(269, 68%, 32%)
HSVhsv(269, 81%, 54%)
CMYKcmyk(42%, 81.2%, 0%, 45.9%)
CIE-LABlab(24.57, 46.62, -51.58)
CIE-LCHlch(24.57, 69.52, 312.11°)
OKLaboklab(37.11% 0.0839 -0.1475)
OKLCHoklch(37.11% 0.17 299.6)
XYZxyz(8.2639, 4.2791, 24.4304)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501A8A #548A1A
analogous
#1A1C8A #501A8A #881A8A
triadic
#501A8A #8A501A #1A8A50
tetradic
#501A8A #8A1A1C #548A1A #1A8A88
square
#501A8A #8A1A1C #548A1A #1A8A88
split-complementary
#501A8A #8A881A #1C8A1A
monochromatic
#140723 #321057 #501A8A #6E24BD #8C43DC

Accessibility & contrast

On white

11.32
#501A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#501A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501A8A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501A8A#FFFFFF#000000##FFFFFF
##501A8A1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#423952
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #501a8a;
/* rgb */ color: rgb(80, 26, 138);
/* oklch */ color: oklch(37.1% 0.170 299.6);
Tailwind
colors: {
  custom: {
    50: '#875ead',
    500: '#501a8a',
    950: '#000000',
  },
}
SCSS
$custom: #501a8a;
$custom-light: #875ead;
$custom-dark: #000000;
JSON
{
  "hex": "#501a8a",
  "rgb": {
    "r": 80,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 268.929,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.16972,
    "h": 299.6
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#501A8A
secondary
#82BD43
accent
#EB3D97
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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