#501681#501681

#501681 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.164 H 303.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#501681
RGBrgb(80, 22, 129)
HSLhsl(273, 71%, 30%)
HSVhsv(273, 83%, 51%)
CMYKcmyk(38%, 82.9%, 0%, 49.4%)
CIE-LABlab(23.22, 45.96, -48.14)
CIE-LCHlch(23.22, 66.56, 313.67°)
OKLaboklab(35.91% 0.0899 -0.1374)
OKLCHoklch(35.91% 0.164 303.2)
XYZxyz(7.5567, 3.8643, 21.1124)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501681 #478116
analogous
#1A1681 #501681 #81167D
triadic
#501681 #815016 #168150
tetradic
#501681 #811A16 #478116 #167D81
square
#501681 #811A16 #478116 #167D81
split-complementary
#501681 #7D8116 #16811A
monochromatic
#10041A #300D4D #501681 #701FB5 #9035DD

Accessibility & contrast

On white

11.85
#501681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#501681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501681
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501681#FFFFFF#000000##FFFFFF
##5016811.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.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: #501681;
/* rgb */ color: rgb(80, 22, 129);
/* oklch */ color: oklch(35.9% 0.164 303.2);
Tailwind
colors: {
  custom: {
    50: '#875ca6',
    500: '#501681',
    950: '#000000',
  },
}
SCSS
$custom: #501681;
$custom-light: #875ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#501681",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 129
  },
  "hsl": {
    "h": 272.523,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35912,
    "c": 0.16421,
    "h": 303.2
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#501681
secondary
#74B63D
accent
#EE3A8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501681

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

Preview Lab → · Contrast checker → · Palette generator →

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