#501366#501366

#501366 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.140 H 315.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#501366
RGBrgb(80, 19, 102)
HSLhsl(284, 69%, 24%)
HSVhsv(284, 81%, 40%)
CMYKcmyk(21.6%, 81.4%, 0%, 60%)
CIE-LABlab(20.56, 40.82, -35.09)
CIE-LCHlch(20.56, 53.83, 319.32°)
OKLaboklab(33.34% 0.0993 -0.099)
OKLCHoklch(33.34% 0.14 315.1)
XYZxyz(5.9390, 3.1307, 12.8592)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501366 #296613
analogous
#261366 #501366 #661352
triadic
#501366 #665013 #136650
tetradic
#501366 #662613 #296613 #135266
square
#501366 #662613 #296613 #135266
split-complementary
#501366 #526613 #136626
monochromatic
#14051A #280932 #501366 #781D9A #A126CD

Accessibility & contrast

On white

12.91
#501366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501366
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501366#FFFFFF#000000##FFFFFF
##5013661.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E68
Deuteranopia (green-blind)
#0F3364
Tritanopia (blue-blind)
#4E263C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #501366;
/* rgb */ color: rgb(80, 19, 102);
/* oklch */ color: oklch(33.3% 0.140 315.1);
Tailwind
colors: {
  custom: {
    50: '#845992',
    500: '#501366',
    950: '#000000',
  },
}
SCSS
$custom: #501366;
$custom-light: #845992;
$custom-dark: #000000;
JSON
{
  "hex": "#501366",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 284.096,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33343,
    "c": 0.14023,
    "h": 315.1
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#501366
secondary
#529D37
accent
#EB3C6B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501366

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

Preview Lab → · Contrast checker → · Palette generator →

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