#501652#501652

#501652 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.117 H 326.5°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#501652
RGBrgb(80, 22, 82)
HSLhsl(298, 58%, 20%)
HSVhsv(298, 73%, 32%)
CMYKcmyk(2.4%, 73.2%, 0%, 67.8%)
CIE-LABlab(19.59, 35.39, -23.33)
CIE-LCHlch(19.59, 42.39, 326.61°)
OKLaboklab(32.21% 0.0976 -0.0647)
OKLCHoklch(32.21% 0.117 326.5)
XYZxyz(5.1181, 2.8888, 8.2690)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501652 #185216
analogous
#321652 #501652 #521636
triadic
#501652 #525016 #165250
tetradic
#501652 #523216 #185216 #163652
square
#501652 #523216 #185216 #163652
split-complementary
#501652 #365216 #165232
monochromatic
#180618 #210922 #501652 #7F2382 #AE30B3

Accessibility & contrast

On white

13.31
#501652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501652
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501652#FFFFFF#000000##FFFFFF
##5016521.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B54
Deuteranopia (green-blind)
#233250
Tritanopia (blue-blind)
#521F32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501652;
/* rgb */ color: rgb(80, 22, 82);
/* oklch */ color: oklch(32.2% 0.117 326.5);
Tailwind
colors: {
  custom: {
    50: '#835983',
    500: '#501652',
    950: '#000000',
  },
}
SCSS
$custom: #501652;
$custom-light: #835983;
$custom-dark: #000000;
JSON
{
  "hex": "#501652",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 298,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32207,
    "c": 0.11711,
    "h": 326.5
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#501652
secondary
#3D893A
accent
#E1474C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501652

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

Preview Lab → · Contrast checker → · Palette generator →

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