#501381#501381

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

Color values

HEX#501381
RGBrgb(80, 19, 129)
HSLhsl(273, 74%, 29%)
HSVhsv(273, 85%, 51%)
CMYKcmyk(38%, 85.3%, 0%, 49.4%)
CIE-LABlab(22.85, 47.03, -48.75)
CIE-LCHlch(22.85, 67.74, 313.98°)
OKLaboklab(35.66% 0.0922 -0.1391)
OKLCHoklch(35.66% 0.167 303.5)
XYZxyz(7.5027, 3.7562, 21.0944)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501381 #448113
analogous
#191381 #501381 #81137B
triadic
#501381 #815013 #138150
tetradic
#501381 #811913 #448113 #137B81
square
#501381 #811913 #448113 #137B81
split-complementary
#501381 #7B8113 #138119
monochromatic
#11041B #2F0B4C #501381 #711BB6 #912EE0

Accessibility & contrast

On white

11.99
#501381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#501381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501381
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501381#FFFFFF#000000##FFFFFF
##5013811.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#46324C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #501381;
/* rgb */ color: rgb(80, 19, 129);
/* oklch */ color: oklch(35.7% 0.167 303.5);
Tailwind
colors: {
  custom: {
    50: '#875aa6',
    500: '#501381',
    950: '#000000',
  },
}
SCSS
$custom: #501381;
$custom-light: #875aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#501381",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 273.273,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35656,
    "c": 0.16691,
    "h": 303.5
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#501381
secondary
#71B63A
accent
#F1378A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501381

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

Preview Lab → · Contrast checker → · Palette generator →

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