#501664#501664

#501664 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.135 H 315.8°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#501664
RGBrgb(80, 22, 100)
HSLhsl(285, 64%, 24%)
HSVhsv(285, 78%, 39%)
CMYKcmyk(20%, 78%, 0%, 60.8%)
CIE-LABlab(20.83, 39.19, -33.35)
CIE-LCHlch(20.83, 51.46, 319.60°)
OKLaboklab(33.48% 0.0966 -0.0939)
OKLCHoklch(33.48% 0.135 315.8)
XYZxyz(5.8951, 3.1996, 12.3612)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501664 #2A6416
analogous
#291664 #501664 #641651
triadic
#501664 #645016 #166450
tetradic
#501664 #642916 #2A6416 #165164
square
#501664 #642916 #2A6416 #165164
split-complementary
#501664 #516416 #166429
monochromatic
#140619 #280B32 #501664 #782196 #A02CC8

Accessibility & contrast

On white

12.81
#501664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#501664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501664
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501664#FFFFFF#000000##FFFFFF
##5016641.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#153462
Tritanopia (blue-blind)
#4F273C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501664;
/* rgb */ color: rgb(80, 22, 100);
/* oklch */ color: oklch(33.5% 0.135 315.8);
Tailwind
colors: {
  custom: {
    50: '#845a91',
    500: '#501664',
    950: '#000000',
  },
}
SCSS
$custom: #501664;
$custom-light: #845a91;
$custom-dark: #000000;
JSON
{
  "hex": "#501664",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 284.615,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33484,
    "c": 0.13473,
    "h": 315.8
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#501664
secondary
#549B3B
accent
#E7416B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #501664

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

Preview Lab → · Contrast checker → · Palette generator →

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