#501764#501764

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

Color values

HEX#501764
RGBrgb(80, 23, 100)
HSLhsl(284, 63%, 24%)
HSVhsv(284, 77%, 39%)
CMYKcmyk(20%, 77%, 0%, 60.8%)
CIE-LABlab(20.98, 38.76, -33.11)
CIE-LCHlch(20.98, 50.98, 319.50°)
OKLaboklab(33.59% 0.0955 -0.0932)
OKLCHoklch(33.59% 0.133 315.7)
XYZxyz(5.9145, 3.2386, 12.3677)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501764 #2B6417
analogous
#2A1764 #501764 #641752
triadic
#501764 #645017 #176450
tetradic
#501764 #642A17 #2B6417 #175264
square
#501764 #642A17 #2B6417 #175264
split-complementary
#501764 #526417 #17642A
monochromatic
#140619 #280C32 #501764 #782296 #A02EC8

Accessibility & contrast

On white

12.75
#501764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#501764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501764
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501764#FFFFFF#000000##FFFFFF
##5017641.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#163462
Tritanopia (blue-blind)
#4F273C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501764;
/* rgb */ color: rgb(80, 23, 100);
/* oklch */ color: oklch(33.6% 0.133 315.7);
Tailwind
colors: {
  custom: {
    50: '#845a91',
    500: '#501764',
    950: '#000000',
  },
}
SCSS
$custom: #501764;
$custom-light: #845a91;
$custom-dark: #000000;
JSON
{
  "hex": "#501764",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 284.416,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33589,
    "c": 0.13348,
    "h": 315.7
  },
  "luminance": 0.03238
}

Semantic roles & 50–950 ramp

primary
#501764
secondary
#559A3C
accent
#E6426D
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040D
muted
#7C797D

Preview Lab

Preview with #501764

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

Preview Lab → · Contrast checker → · Palette generator →

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