#521351#521351

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

Color values

HEX#521351
RGBrgb(82, 19, 81)
HSLhsl(301, 62%, 20%)
HSVhsv(301, 77%, 32%)
CMYKcmyk(0%, 76.8%, 1.2%, 67.8%)
CIE-LABlab(19.45, 36.99, -22.86)
CIE-LCHlch(19.45, 43.48, 328.28°)
OKLaboklab(32.16% 0.1037 -0.0632)
OKLCHoklch(32.16% 0.121 328.6)
XYZxyz(5.1977, 2.8540, 8.0601)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521351 #135214
analogous
#331352 #521351 #521332
triadic
#521351 #515213 #135152
tetradic
#521351 #523313 #135214 #133252
square
#521351 #523313 #135214 #133252
split-complementary
#521351 #325213 #135233
monochromatic
#190619 #200720 #521351 #841F82 #B52AB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##521351#FFFFFF#000000##FFFFFF
##5213511.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)
#092A53
Deuteranopia (green-blind)
#24324F
Tritanopia (blue-blind)
#551C30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521351;
/* rgb */ color: rgb(82, 19, 81);
/* oklch */ color: oklch(32.2% 0.121 328.6);
Tailwind
colors: {
  custom: {
    50: '#855882',
    500: '#521351',
    950: '#000000',
  },
}
SCSS
$custom: #521351;
$custom-light: #855882;
$custom-dark: #000000;
JSON
{
  "hex": "#521351",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 81
  },
  "hsl": {
    "h": 300.952,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32155,
    "c": 0.12142,
    "h": 328.6
  },
  "luminance": 0.02854
}

Semantic roles & 50–950 ramp

primary
#521351
secondary
#368A38
accent
#E54542
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521351

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

Preview Lab → · Contrast checker → · Palette generator →

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