#501452#501452

#501452 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 32.0% C 0.120 H 326.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#501452
RGBrgb(80, 20, 82)
HSLhsl(298, 61%, 20%)
HSVhsv(298, 76%, 32%)
CMYKcmyk(2.4%, 75.6%, 0%, 67.8%)
CIE-LABlab(19.29, 36.25, -23.81)
CIE-LCHlch(19.29, 43.37, 326.70°)
OKLaboklab(31.99% 0.1 -0.066)
OKLCHoklch(31.99% 0.12 326.6)
XYZxyz(5.0813, 2.8153, 8.2568)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501452 #165214
analogous
#311452 #501452 #521435
triadic
#501452 #525014 #145250
tetradic
#501452 #523114 #165214 #143552
square
#501452 #523114 #165214 #143552
split-complementary
#501452 #355214 #145231
monochromatic
#180619 #200821 #501452 #802083 #B02CB4

Accessibility & contrast

On white

13.44
#501452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #501452
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501452#FFFFFF#000000##FFFFFF
##5014521.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082A54
Deuteranopia (green-blind)
#223150
Tritanopia (blue-blind)
#521E31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #501452;
/* rgb */ color: rgb(80, 20, 82);
/* oklch */ color: oklch(32.0% 0.120 326.6);
Tailwind
colors: {
  custom: {
    50: '#845883',
    500: '#501452',
    950: '#000000',
  },
}
SCSS
$custom: #501452;
$custom-light: #845883;
$custom-dark: #000000;
JSON
{
  "hex": "#501452",
  "rgb": {
    "r": 80,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 298.065,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31988,
    "c": 0.11988,
    "h": 326.6
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#501452
secondary
#3A8A38
accent
#E44449
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501452

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

Preview Lab → · Contrast checker → · Palette generator →

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