#501481#501481

#501481 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.166 H 303.4°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#501481
RGBrgb(80, 20, 129)
HSLhsl(273, 73%, 29%)
HSVhsv(273, 84%, 51%)
CMYKcmyk(38%, 84.5%, 0%, 49.4%)
CIE-LABlab(22.97, 46.69, -48.55)
CIE-LCHlch(22.97, 67.36, 313.88°)
OKLaboklab(35.74% 0.0914 -0.1386)
OKLCHoklch(35.74% 0.166 303.4)
XYZxyz(7.5199, 3.7908, 21.1001)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501481 #458114
analogous
#1A1481 #501481 #81147C
triadic
#501481 #815014 #148150
tetradic
#501481 #811A14 #458114 #147C81
square
#501481 #811A14 #458114 #147C81
split-complementary
#501481 #7C8114 #14811A
monochromatic
#10041A #2F0C4C #501481 #711CB6 #9130DF

Accessibility & contrast

On white

11.94
#501481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#501481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501481
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501481#FFFFFF#000000##FFFFFF
##5014811.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003684
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#46334C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501481;
/* rgb */ color: rgb(80, 20, 129);
/* oklch */ color: oklch(35.7% 0.166 303.4);
Tailwind
colors: {
  custom: {
    50: '#875ba6',
    500: '#501481',
    950: '#000000',
  },
}
SCSS
$custom: #501481;
$custom-light: #875ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#501481",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 273.028,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35738,
    "c": 0.16604,
    "h": 303.4
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#501481
secondary
#72B63B
accent
#F0388B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501481

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

Preview Lab → · Contrast checker → · Palette generator →

#501481 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva