#501657#501657

#501657 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.5% C 0.122 H 323.2°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#501657
RGBrgb(80, 22, 87)
HSLhsl(294, 60%, 21%)
HSVhsv(294, 75%, 34%)
CMYKcmyk(8%, 74.7%, 0%, 65.9%)
CIE-LABlab(19.91, 36.40, -26.18)
CIE-LCHlch(19.91, 44.84, 324.27°)
OKLaboklab(32.54% 0.0976 -0.073)
OKLCHoklch(32.54% 0.122 323.2)
XYZxyz(5.3153, 2.9677, 9.3078)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501657 #1D5716
analogous
#301657 #501657 #57163E
triadic
#501657 #575016 #165750
tetradic
#501657 #573016 #1D5716 #163E57
square
#501657 #573016 #1D5716 #163E57
split-complementary
#501657 #3E5716 #165730
monochromatic
#160618 #230A26 #501657 #7D2288 #AA2FB9

Accessibility & contrast

On white

13.18
#501657 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#501657 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501657
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501657#FFFFFF#000000##FFFFFF
##5016571.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C59
Deuteranopia (green-blind)
#203255
Tritanopia (blue-blind)
#512134
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #501657;
/* rgb */ color: rgb(80, 22, 87);
/* oklch */ color: oklch(32.5% 0.122 323.2);
Tailwind
colors: {
  custom: {
    50: '#845987',
    500: '#501657',
    950: '#000000',
  },
}
SCSS
$custom: #501657;
$custom-light: #845987;
$custom-dark: #000000;
JSON
{
  "hex": "#501657",
  "rgb": {
    "r": 80,
    "g": 22,
    "b": 87
  },
  "hsl": {
    "h": 293.538,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32541,
    "c": 0.12189,
    "h": 323.2
  },
  "luminance": 0.02967
}

Semantic roles & 50–950 ramp

primary
#501657
secondary
#448E3A
accent
#E34556
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #501657

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

Preview Lab → · Contrast checker → · Palette generator →

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