#501552#501552

#501552 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.119 H 326.5°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#501552
RGBrgb(80, 21, 82)
HSLhsl(298, 59%, 20%)
HSVhsv(298, 74%, 32%)
CMYKcmyk(2.4%, 74.4%, 0%, 67.8%)
CIE-LABlab(19.44, 35.83, -23.57)
CIE-LCHlch(19.44, 42.89, 326.66°)
OKLaboklab(32.1% 0.0988 -0.0654)
OKLCHoklch(32.1% 0.119 326.5)
XYZxyz(5.0993, 2.8513, 8.2628)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#501552 #175215
analogous
#321552 #501552 #521535
triadic
#501552 #525015 #155250
tetradic
#501552 #523215 #175215 #153552
square
#501552 #523215 #175215 #153552
split-complementary
#501552 #355215 #155232
monochromatic
#180618 #200921 #501552 #802183 #AF2EB3

Accessibility & contrast

On white

13.37
#501552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#501552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #501552
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##501552#FFFFFF#000000##FFFFFF
##5015521.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #501552;
/* rgb */ color: rgb(80, 21, 82);
/* oklch */ color: oklch(32.1% 0.119 326.5);
Tailwind
colors: {
  custom: {
    50: '#845983',
    500: '#501552',
    950: '#000000',
  },
}
SCSS
$custom: #501552;
$custom-light: #845983;
$custom-dark: #000000;
JSON
{
  "hex": "#501552",
  "rgb": {
    "r": 80,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 298.033,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32096,
    "c": 0.11851,
    "h": 326.5
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#501552
secondary
#3C8A39
accent
#E2454B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #501552

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

Preview Lab → · Contrast checker → · Palette generator →

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