#501352#501352

#501352 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.121 H 326.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#501352
RGBrgb(80, 19, 82)
HSLhsl(298, 62%, 20%)
HSVhsv(298, 77%, 32%)
CMYKcmyk(2.4%, 76.8%, 0%, 67.8%)
CIE-LABlab(19.14, 36.66, -24.04)
CIE-LCHlch(19.14, 43.84, 326.74°)
OKLaboklab(31.88% 0.1012 -0.0667)
OKLCHoklch(31.88% 0.121 326.6)
XYZxyz(5.0640, 2.7808, 8.2510)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501352 #155213
analogous
#301352 #501352 #521335
triadic
#501352 #525013 #135250
tetradic
#501352 #523013 #155213 #133552
square
#501352 #523013 #155213 #133552
split-complementary
#501352 #355213 #135230
monochromatic
#180619 #200720 #501352 #801F84 #B12AB5

Accessibility & contrast

On white

13.50
#501352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#501352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501352
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501352#FFFFFF#000000##FFFFFF
##5013521.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062A54
Deuteranopia (green-blind)
#223150
Tritanopia (blue-blind)
#521D31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #501352;
/* rgb */ color: rgb(80, 19, 82);
/* oklch */ color: oklch(31.9% 0.121 326.6);
Tailwind
colors: {
  custom: {
    50: '#845883',
    500: '#501352',
    950: '#000000',
  },
}
SCSS
$custom: #501352;
$custom-light: #845883;
$custom-dark: #000000;
JSON
{
  "hex": "#501352",
  "rgb": {
    "r": 80,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 298.095,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31884,
    "c": 0.1212,
    "h": 326.6
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#501352
secondary
#398A36
accent
#E54248
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #501352

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

Preview Lab → · Contrast checker → · Palette generator →

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