#501668#501668

#501668 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.139 H 313.8°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#501668
RGBrgb(80, 22, 104)
HSLhsl(282, 65%, 25%)
HSVhsv(282, 79%, 41%)
CMYKcmyk(23.1%, 78.8%, 0%, 59.2%)
CIE-LABlab(21.13, 40.08, -35.48)
CIE-LCHlch(21.13, 53.53, 318.48°)
OKLaboklab(33.79% 0.096 -0.1002)
OKLCHoklch(33.79% 0.139 313.8)
XYZxyz(6.0934, 3.2790, 13.4059)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501668 #2E6816
analogous
#271668 #501668 #681657
triadic
#501668 #685016 #166850
tetradic
#501668 #682716 #2E6816 #165768
square
#501668 #682716 #2E6816 #165768
split-complementary
#501668 #576816 #166827
monochromatic
#130519 #290B35 #501668 #77219B #9E2BCD

Accessibility & contrast

On white

12.68
#501668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#501668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501668
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501668#FFFFFF#000000##FFFFFF
##5016681.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#0F3466
Tritanopia (blue-blind)
#4E283E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #501668;
/* rgb */ color: rgb(80, 22, 104);
/* oklch */ color: oklch(33.8% 0.139 313.8);
Tailwind
colors: {
  custom: {
    50: '#845a94',
    500: '#501668',
    950: '#000000',
  },
}
SCSS
$custom: #501668;
$custom-light: #845a94;
$custom-dark: #000000;
JSON
{
  "hex": "#501668",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 282.439,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33793,
    "c": 0.13876,
    "h": 313.8
  },
  "luminance": 0.03279
}

Semantic roles & 50–950 ramp

primary
#501668
secondary
#589F3B
accent
#E84071
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501668

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

Preview Lab → · Contrast checker → · Palette generator →

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