#501A85#501A85

#501A85 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.164 H 301.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#501A85
RGBrgb(80, 26, 133)
HSLhsl(270, 67%, 31%)
HSVhsv(270, 80%, 52%)
CMYKcmyk(39.8%, 80.5%, 0%, 47.8%)
CIE-LABlab(24.12, 45.36, -49.19)
CIE-LCHlch(24.12, 66.91, 312.69°)
OKLaboklab(36.65% 0.0854 -0.1405)
OKLCHoklch(36.65% 0.164 301.3)
XYZxyz(7.9103, 4.1377, 22.5677)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501A85 #4F851A
analogous
#1A1A85 #501A85 #851A84
triadic
#501A85 #85501A #1A8550
tetradic
#501A85 #851A1A #4F851A #1A8485
square
#501A85 #851A1A #4F851A #1A8485
split-complementary
#501A85 #84851A #1A851A
monochromatic
#12061F #311052 #501A85 #6F24B8 #8D40DA

Accessibility & contrast

On white

11.49
#501A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#501A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501A85
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501A85#FFFFFF#000000##FFFFFF
##501A851.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#44374F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #501a85;
/* rgb */ color: rgb(80, 26, 133);
/* oklch */ color: oklch(36.7% 0.164 301.3);
Tailwind
colors: {
  custom: {
    50: '#875ea9',
    500: '#501a85',
    950: '#000000',
  },
}
SCSS
$custom: #501a85;
$custom-light: #875ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#501a85",
  "rgb": {
    "r": 80,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 270.28,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.36652,
    "c": 0.16442,
    "h": 301.3
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#501A85
secondary
#7DB842
accent
#EA3E93
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #501A85

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

Preview Lab → · Contrast checker → · Palette generator →

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