#501665#501665

#501665 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.136 H 315.3°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#501665
RGBrgb(80, 22, 101)
HSLhsl(284, 64%, 24%)
HSVhsv(284, 78%, 40%)
CMYKcmyk(20.8%, 78.2%, 0%, 60.4%)
CIE-LABlab(20.90, 39.41, -33.88)
CIE-LCHlch(20.90, 51.97, 319.31°)
OKLaboklab(33.56% 0.0964 -0.0955)
OKLCHoklch(33.56% 0.136 315.3)
XYZxyz(5.9438, 3.2191, 12.6176)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501665 #2B6516
analogous
#291665 #501665 #651653
triadic
#501665 #655016 #166550
tetradic
#501665 #652916 #2B6516 #165365
square
#501665 #652916 #2B6516 #165365
split-complementary
#501665 #536516 #166529
monochromatic
#140519 #280B33 #501665 #782197 #A02CCA

Accessibility & contrast

On white

12.78
#501665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501665
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501665#FFFFFF#000000##FFFFFF
##5016651.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#133463
Tritanopia (blue-blind)
#4E273C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501665;
/* rgb */ color: rgb(80, 22, 101);
/* oklch */ color: oklch(33.6% 0.136 315.3);
Tailwind
colors: {
  custom: {
    50: '#845a91',
    500: '#501665',
    950: '#000000',
  },
}
SCSS
$custom: #501665;
$custom-light: #845a91;
$custom-dark: #000000;
JSON
{
  "hex": "#501665",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 284.051,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3356,
    "c": 0.13574,
    "h": 315.3
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#501665
secondary
#559C3B
accent
#E7416D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501665

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

Preview Lab → · Contrast checker → · Palette generator →

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