#501654#501654

#501654 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.119 H 325.2°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#501654
RGBrgb(80, 22, 84)
HSLhsl(296, 58%, 21%)
HSVhsv(296, 74%, 33%)
CMYKcmyk(4.8%, 73.8%, 0%, 67.1%)
CIE-LABlab(19.72, 35.79, -24.48)
CIE-LCHlch(19.72, 43.36, 325.63°)
OKLaboklab(32.34% 0.0977 -0.068)
OKLCHoklch(32.34% 0.119 325.2)
XYZxyz(5.1953, 2.9197, 8.6757)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501654 #1A5416
analogous
#311654 #501654 #541639
triadic
#501654 #545016 #165450
tetradic
#501654 #543116 #1A5416 #163954
square
#501654 #543116 #1A5416 #163954
split-complementary
#501654 #395416 #165431
monochromatic
#170618 #220924 #501654 #7E2384 #AC2FB5

Accessibility & contrast

On white

13.26
#501654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#501654 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501654
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501654#FFFFFF#000000##FFFFFF
##5016541.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082B56
Deuteranopia (green-blind)
#223252
Tritanopia (blue-blind)
#522033
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501654;
/* rgb */ color: rgb(80, 22, 84);
/* oklch */ color: oklch(32.3% 0.119 325.2);
Tailwind
colors: {
  custom: {
    50: '#845984',
    500: '#501654',
    950: '#000000',
  },
}
SCSS
$custom: #501654;
$custom-light: #845984;
$custom-dark: #000000;
JSON
{
  "hex": "#501654",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 296.129,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32339,
    "c": 0.119,
    "h": 325.2
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#501654
secondary
#408B3A
accent
#E24650
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501654

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

Preview Lab → · Contrast checker → · Palette generator →

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