#501667#501667

#501667 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.7% C 0.138 H 314.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#501667
RGBrgb(80, 22, 103)
HSLhsl(283, 65%, 25%)
HSVhsv(283, 79%, 40%)
CMYKcmyk(22.3%, 78.6%, 0%, 59.6%)
CIE-LABlab(21.05, 39.85, -34.95)
CIE-LCHlch(21.05, 53.01, 318.75°)
OKLaboklab(33.72% 0.0961 -0.0986)
OKLCHoklch(33.72% 0.138 314.3)
XYZxyz(6.0429, 3.2588, 13.1400)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501667 #2D6716
analogous
#281667 #501667 #671656
triadic
#501667 #675016 #166750
tetradic
#501667 #672816 #2D6716 #165667
square
#501667 #672816 #2D6716 #165667
split-complementary
#501667 #566716 #166728
monochromatic
#140519 #290B35 #501667 #772199 #9E2CCC

Accessibility & contrast

On white

12.71
#501667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#501667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501667
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501667#FFFFFF#000000##FFFFFF
##5016671.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#4E283D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501667;
/* rgb */ color: rgb(80, 22, 103);
/* oklch */ color: oklch(33.7% 0.138 314.3);
Tailwind
colors: {
  custom: {
    50: '#845a93',
    500: '#501667',
    950: '#000000',
  },
}
SCSS
$custom: #501667;
$custom-light: #845a93;
$custom-dark: #000000;
JSON
{
  "hex": "#501667",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 282.963,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33715,
    "c": 0.13775,
    "h": 314.3
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#501667
secondary
#579E3B
accent
#E84070
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501667

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

Preview Lab → · Contrast checker → · Palette generator →

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