#521356#521356

#521356 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.126 H 325.4°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#521356
RGBrgb(82, 19, 86)
HSLhsl(296, 64%, 21%)
HSVhsv(296, 78%, 34%)
CMYKcmyk(4.7%, 77.9%, 0%, 66.3%)
CIE-LABlab(19.77, 37.95, -25.72)
CIE-LCHlch(19.77, 45.84, 325.87°)
OKLaboklab(32.49% 0.1037 -0.0715)
OKLCHoklch(32.49% 0.126 325.4)
XYZxyz(5.3921, 2.9318, 9.0842)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521356 #175613
analogous
#301356 #521356 #561338
triadic
#521356 #565213 #135652
tetradic
#521356 #563013 #175613 #133856
square
#521356 #563013 #175613 #133856
split-complementary
#521356 #385613 #135630
monochromatic
#180619 #220824 #521356 #821E88 #B229BA

Accessibility & contrast

On white

13.24
#521356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521356
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521356#FFFFFF#000000##FFFFFF
##5213561.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022B58
Deuteranopia (green-blind)
#213254
Tritanopia (blue-blind)
#541E33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521356;
/* rgb */ color: rgb(82, 19, 86);
/* oklch */ color: oklch(32.5% 0.126 325.4);
Tailwind
colors: {
  custom: {
    50: '#855886',
    500: '#521356',
    950: '#000000',
  },
}
SCSS
$custom: #521356;
$custom-light: #855886;
$custom-dark: #000000;
JSON
{
  "hex": "#521356",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 296.418,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32486,
    "c": 0.12594,
    "h": 325.4
  },
  "luminance": 0.02931
}

Semantic roles & 50–950 ramp

primary
#521356
secondary
#3C8E36
accent
#E7414B
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521356

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

Preview Lab → · Contrast checker → · Palette generator →

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