#501661#501661

#501661 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.132 H 317.4°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#501661
RGBrgb(80, 22, 97)
HSLhsl(286, 63%, 23%)
HSVhsv(286, 77%, 38%)
CMYKcmyk(17.5%, 77.3%, 0%, 62%)
CIE-LABlab(20.61, 38.52, -31.73)
CIE-LCHlch(20.61, 49.91, 320.53°)
OKLaboklab(33.26% 0.097 -0.0892)
OKLCHoklch(33.26% 0.132 317.4)
XYZxyz(5.7525, 3.1426, 11.6105)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501661 #276116
analogous
#2A1661 #501661 #61164C
triadic
#501661 #615016 #166150
tetradic
#501661 #612A16 #276116 #164C61
square
#501661 #612A16 #276116 #164C61
split-complementary
#501661 #4C6116 #16612A
monochromatic
#150619 #270B2F #501661 #792193 #A22DC5

Accessibility & contrast

On white

12.90
#501661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#501661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501661
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501661#FFFFFF#000000##FFFFFF
##5016611.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#18335F
Tritanopia (blue-blind)
#4F253A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501661;
/* rgb */ color: rgb(80, 22, 97);
/* oklch */ color: oklch(33.3% 0.132 317.4);
Tailwind
colors: {
  custom: {
    50: '#845a8e',
    500: '#501661',
    950: '#000000',
  },
}
SCSS
$custom: #501661;
$custom-light: #845a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#501661",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 286.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33257,
    "c": 0.13174,
    "h": 317.4
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#501661
secondary
#50983B
accent
#E64267
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501661

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

Preview Lab → · Contrast checker → · Palette generator →

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