#521552#521552

#521552 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.4% C 0.120 H 327.9°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#521552
RGBrgb(82, 21, 82)
HSLhsl(300, 59%, 20%)
HSVhsv(300, 74%, 32%)
CMYKcmyk(0%, 74.4%, 0%, 67.8%)
CIE-LABlab(19.80, 36.36, -22.98)
CIE-LCHlch(19.80, 43.01, 327.71°)
OKLaboklab(32.43% 0.1014 -0.0636)
OKLCHoklch(32.43% 0.12 327.9)
XYZxyz(5.2708, 2.9397, 8.2708)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521552 #155215
analogous
#331552 #521552 #521533
triadic
#521552 #525215 #155252
tetradic
#521552 #523315 #155215 #153352
square
#521552 #523315 #155215 #153352
split-complementary
#521552 #335215 #155233
monochromatic
#180618 #210921 #521552 #832183 #B32EB3

Accessibility & contrast

On white

13.23
#521552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#521552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521552
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521552#FFFFFF#000000##FFFFFF
##5215521.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2B54
Deuteranopia (green-blind)
#253350
Tritanopia (blue-blind)
#551E31
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521552;
/* rgb */ color: rgb(82, 21, 82);
/* oklch */ color: oklch(32.4% 0.120 327.9);
Tailwind
colors: {
  custom: {
    50: '#855983',
    500: '#521552',
    950: '#000000',
  },
}
SCSS
$custom: #521552;
$custom-light: #855983;
$custom-dark: #000000;
JSON
{
  "hex": "#521552",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.11966,
    "h": 327.9
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#521552
secondary
#398A39
accent
#E24545
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521552

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

Preview Lab → · Contrast checker → · Palette generator →

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