#501368#501368

#501368 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.142 H 314.1°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#501368
RGBrgb(80, 19, 104)
HSLhsl(283, 69%, 24%)
HSVhsv(283, 82%, 41%)
CMYKcmyk(23.1%, 81.7%, 0%, 59.2%)
CIE-LABlab(20.72, 41.26, -36.15)
CIE-LCHlch(20.72, 54.86, 318.78°)
OKLaboklab(33.5% 0.0989 -0.1021)
OKLCHoklch(33.5% 0.142 314.1)
XYZxyz(6.0394, 3.1709, 13.3879)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501368 #2B6813
analogous
#261368 #501368 #681356
triadic
#501368 #685013 #136850
tetradic
#501368 #682613 #2B6813 #135668
square
#501368 #682613 #2B6813 #135668
split-complementary
#501368 #566813 #136826
monochromatic
#14051A #280A34 #501368 #781C9C #A026CF

Accessibility & contrast

On white

12.85
#501368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501368
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501368#FFFFFF#000000##FFFFFF
##5013681.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501368;
/* rgb */ color: rgb(80, 19, 104);
/* oklch */ color: oklch(33.5% 0.142 314.1);
Tailwind
colors: {
  custom: {
    50: '#855994',
    500: '#501368',
    950: '#000000',
  },
}
SCSS
$custom: #501368;
$custom-light: #855994;
$custom-dark: #000000;
JSON
{
  "hex": "#501368",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 283.059,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33502,
    "c": 0.14219,
    "h": 314.1
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#501368
secondary
#559F37
accent
#EC3C6E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #501368

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

Preview Lab → · Contrast checker → · Palette generator →

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