#501760#501760

#501760 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.129 H 317.8°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#501760
RGBrgb(80, 23, 96)
HSLhsl(287, 61%, 23%)
HSVhsv(287, 76%, 38%)
CMYKcmyk(16.7%, 76%, 0%, 62.4%)
CIE-LABlab(20.69, 37.88, -30.94)
CIE-LCHlch(20.69, 48.91, 320.76°)
OKLaboklab(33.29% 0.0959 -0.0869)
OKLCHoklch(33.29% 0.129 317.8)
XYZxyz(5.7257, 3.1630, 11.3730)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501760 #276017
analogous
#2B1760 #501760 #60174B
triadic
#501760 #605017 #176050
tetradic
#501760 #602B17 #276017 #174B60
square
#501760 #602B17 #276017 #174B60
split-complementary
#501760 #4B6017 #17602B
monochromatic
#150619 #270B2F #501760 #792391 #A22FC3

Accessibility & contrast

On white

12.86
#501760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501760
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501760#FFFFFF#000000##FFFFFF
##5017601.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#1A345E
Tritanopia (blue-blind)
#4F263A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501760;
/* rgb */ color: rgb(80, 23, 96);
/* oklch */ color: oklch(33.3% 0.129 317.8);
Tailwind
colors: {
  custom: {
    50: '#845a8e',
    500: '#501760',
    950: '#000000',
  },
}
SCSS
$custom: #501760;
$custom-light: #845a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#501760",
  "rgb": {
    "r": 80,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 286.849,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33291,
    "c": 0.12944,
    "h": 317.8
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#501760
secondary
#50973C
accent
#E44367
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501760

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

Preview Lab → · Contrast checker → · Palette generator →

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