#501680#501680

#501680 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.163 H 303.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#501680
RGBrgb(80, 22, 128)
HSLhsl(273, 71%, 29%)
HSVhsv(273, 83%, 50%)
CMYKcmyk(37.5%, 82.8%, 0%, 49.8%)
CIE-LABlab(23.13, 45.71, -47.66)
CIE-LCHlch(23.13, 66.04, 313.81°)
OKLaboklab(35.82% 0.0902 -0.136)
OKLCHoklch(35.82% 0.163 303.6)
XYZxyz(7.4905, 3.8378, 20.7640)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501680 #468016
analogous
#1B1680 #501680 #80167B
triadic
#501680 #805016 #168050
tetradic
#501680 #801B16 #468016 #167B80
square
#501680 #801B16 #468016 #167B80
split-complementary
#501680 #7B8016 #16801B
monochromatic
#10041A #2F0D4C #501680 #711FB4 #9034DC

Accessibility & contrast

On white

11.88
#501680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501680
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501680#FFFFFF#000000##FFFFFF
##5016801.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501680;
/* rgb */ color: rgb(80, 22, 128);
/* oklch */ color: oklch(35.8% 0.163 303.6);
Tailwind
colors: {
  custom: {
    50: '#865ba6',
    500: '#501680',
    950: '#000000',
  },
}
SCSS
$custom: #501680;
$custom-light: #865ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#501680",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 272.83,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35822,
    "c": 0.16318,
    "h": 303.6
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#501680
secondary
#73B53D
accent
#ED3A8B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501680

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

Preview Lab → · Contrast checker → · Palette generator →

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