#521352#521352

#521352 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.122 H 328.0°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#521352
RGBrgb(82, 19, 82)
HSLhsl(300, 62%, 20%)
HSVhsv(300, 77%, 32%)
CMYKcmyk(0%, 76.8%, 0%, 67.8%)
CIE-LABlab(19.51, 37.17, -23.43)
CIE-LCHlch(19.51, 43.94, 327.77°)
OKLaboklab(32.22% 0.1037 -0.0649)
OKLCHoklch(32.22% 0.122 328)
XYZxyz(5.2355, 2.8692, 8.2591)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521352 #135213
analogous
#331352 #521352 #521333
triadic
#521352 #525213 #135252
tetradic
#521352 #523313 #135213 #133352
square
#521352 #523313 #135213 #133352
split-complementary
#521352 #335213 #135233
monochromatic
#190619 #200720 #521352 #841F84 #B52AB5

Accessibility & contrast

On white

13.34
#521352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521352
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521352#FFFFFF#000000##FFFFFF
##5213521.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082A54
Deuteranopia (green-blind)
#243250
Tritanopia (blue-blind)
#551C31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521352;
/* rgb */ color: rgb(82, 19, 82);
/* oklch */ color: oklch(32.2% 0.122 328.0);
Tailwind
colors: {
  custom: {
    50: '#855883',
    500: '#521352',
    950: '#000000',
  },
}
SCSS
$custom: #521352;
$custom-light: #855883;
$custom-dark: #000000;
JSON
{
  "hex": "#521352",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.3222,
    "c": 0.12232,
    "h": 328
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#521352
secondary
#368A36
accent
#E54242
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521352

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

Preview Lab → · Contrast checker → · Palette generator →

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