#501568#501568

#501568 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.140 H 313.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#501568
RGBrgb(80, 21, 104)
HSLhsl(283, 66%, 25%)
HSVhsv(283, 80%, 41%)
CMYKcmyk(23.1%, 79.8%, 0%, 59.2%)
CIE-LABlab(20.99, 40.49, -35.71)
CIE-LCHlch(20.99, 53.99, 318.58°)
OKLaboklab(33.69% 0.097 -0.1009)
OKLCHoklch(33.69% 0.14 313.9)
XYZxyz(6.0747, 3.2415, 13.3997)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501568 #2D6815
analogous
#271568 #501568 #681557
triadic
#501568 #685015 #156850
tetradic
#501568 #682715 #2D6815 #155768
square
#501568 #682715 #2D6815 #155768
split-complementary
#501568 #576815 #156827
monochromatic
#140519 #290B35 #501568 #771F9B #9E2ACE

Accessibility & contrast

On white

12.74
#501568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501568
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501568#FFFFFF#000000##FFFFFF
##5015681.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#0E3466
Tritanopia (blue-blind)
#4E283E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501568;
/* rgb */ color: rgb(80, 21, 104);
/* oklch */ color: oklch(33.7% 0.140 313.9);
Tailwind
colors: {
  custom: {
    50: '#845a94',
    500: '#501568',
    950: '#000000',
  },
}
SCSS
$custom: #501568;
$custom-light: #845a94;
$custom-dark: #000000;
JSON
{
  "hex": "#501568",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 282.651,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33693,
    "c": 0.13994,
    "h": 313.9
  },
  "luminance": 0.03241
}

Semantic roles & 50–950 ramp

primary
#501568
secondary
#579F3A
accent
#E93E70
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501568

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

Preview Lab → · Contrast checker → · Palette generator →

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