#521357#521357

#521357 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.127 H 324.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#521357
RGBrgb(82, 19, 87)
HSLhsl(296, 64%, 21%)
HSVhsv(296, 78%, 34%)
CMYKcmyk(5.7%, 78.2%, 0%, 65.9%)
CIE-LABlab(19.83, 38.14, -26.29)
CIE-LCHlch(19.83, 46.33, 325.43°)
OKLaboklab(32.56% 0.1036 -0.0732)
OKLCHoklch(32.56% 0.127 324.8)
XYZxyz(5.4327, 2.9480, 9.2979)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521357 #185713
analogous
#301357 #521357 #57133A
triadic
#521357 #575213 #135752
tetradic
#521357 #573013 #185713 #133A57
square
#521357 #573013 #185713 #133A57
split-complementary
#521357 #3A5713 #135730
monochromatic
#180519 #230825 #521357 #811E89 #B129BB

Accessibility & contrast

On white

13.21
#521357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521357
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521357#FFFFFF#000000##FFFFFF
##5213571.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B59
Deuteranopia (green-blind)
#213355
Tritanopia (blue-blind)
#541F34
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521357;
/* rgb */ color: rgb(82, 19, 87);
/* oklch */ color: oklch(32.6% 0.127 324.8);
Tailwind
colors: {
  custom: {
    50: '#855887',
    500: '#521357',
    950: '#000000',
  },
}
SCSS
$custom: #521357;
$custom-light: #855887;
$custom-dark: #000000;
JSON
{
  "hex": "#521357",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 295.588,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32555,
    "c": 0.12686,
    "h": 324.8
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#521357
secondary
#3D8F36
accent
#E7414D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521357

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

Preview Lab → · Contrast checker → · Palette generator →

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