#501362#501362

#501362 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.0% C 0.136 H 317.1°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#501362
RGBrgb(80, 19, 98)
HSLhsl(286, 68%, 23%)
HSVhsv(286, 81%, 38%)
CMYKcmyk(18.4%, 80.6%, 0%, 61.6%)
CIE-LABlab(20.26, 39.95, -32.95)
CIE-LCHlch(20.26, 51.79, 320.49°)
OKLaboklab(33.03% 0.0999 -0.0927)
OKLCHoklch(33.03% 0.136 317.1)
XYZxyz(5.7454, 3.0533, 11.8396)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501362 #256213
analogous
#281362 #501362 #62134C
triadic
#501362 #625013 #136250
tetradic
#501362 #622813 #256213 #134C62
square
#501362 #622813 #256213 #134C62
split-complementary
#501362 #4C6213 #136228
monochromatic
#15051A #26092F #501362 #7A1D95 #A427C9

Accessibility & contrast

On white

13.04
#501362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#501362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501362
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501362#FFFFFF#000000##FFFFFF
##5013621.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D64
Deuteranopia (green-blind)
#143360
Tritanopia (blue-blind)
#4F243A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #501362;
/* rgb */ color: rgb(80, 19, 98);
/* oklch */ color: oklch(33.0% 0.136 317.1);
Tailwind
colors: {
  custom: {
    50: '#84588f',
    500: '#501362',
    950: '#000000',
  },
}
SCSS
$custom: #501362;
$custom-light: #84588f;
$custom-dark: #000000;
JSON
{
  "hex": "#501362",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 286.329,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33032,
    "c": 0.13635,
    "h": 317.1
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#501362
secondary
#4E9A37
accent
#EA3D65
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #501362

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

Preview Lab → · Contrast checker → · Palette generator →

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