#501679#501679

#501679 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.156 H 306.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#501679
RGBrgb(80, 22, 121)
HSLhsl(275, 69%, 28%)
HSVhsv(275, 82%, 47%)
CMYKcmyk(33.9%, 81.8%, 0%, 52.5%)
CIE-LABlab(22.51, 44.03, -44.21)
CIE-LCHlch(22.51, 62.40, 314.88°)
OKLaboklab(35.2% 0.0922 -0.1259)
OKLCHoklch(35.2% 0.156 306.2)
XYZxyz(7.0456, 3.6598, 18.4207)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501679 #3F7916
analogous
#1F1679 #501679 #791670
triadic
#501679 #795016 #167950
tetradic
#501679 #791F16 #3F7916 #167079
square
#501679 #791F16 #3F7916 #167079
split-complementary
#501679 #707916 #16791F
monochromatic
#11051A #2E0D45 #501679 #721FAD #9330D9

Accessibility & contrast

On white

12.12
#501679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#501679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501679
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501679#FFFFFF#000000##FFFFFF
##5016791.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#493048
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #501679;
/* rgb */ color: rgb(80, 22, 121);
/* oklch */ color: oklch(35.2% 0.156 306.2);
Tailwind
colors: {
  custom: {
    50: '#865ba0',
    500: '#501679',
    950: '#000000',
  },
}
SCSS
$custom: #501679;
$custom-light: #865ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#501679",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 275.152,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35202,
    "c": 0.15603,
    "h": 306.2
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#501679
secondary
#6CAE3D
accent
#EC3C85
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #501679

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

Preview Lab → · Contrast checker → · Palette generator →

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