#521556#521556

#521556 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.123 H 325.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#521556
RGBrgb(82, 21, 86)
HSLhsl(296, 61%, 21%)
HSVhsv(296, 76%, 34%)
CMYKcmyk(4.7%, 75.6%, 0%, 66.3%)
CIE-LABlab(20.05, 37.14, -25.27)
CIE-LCHlch(20.05, 44.92, 325.77°)
OKLaboklab(32.69% 0.1014 -0.0702)
OKLCHoklch(32.69% 0.123 325.3)
XYZxyz(5.4274, 3.0024, 9.0959)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521556 #195615
analogous
#311556 #521556 #561539
triadic
#521556 #565215 #155652
tetradic
#521556 #563115 #195615 #153956
square
#521556 #563115 #195615 #153956
split-complementary
#521556 #395615 #155631
monochromatic
#170619 #230925 #521556 #812187 #B02DB8

Accessibility & contrast

On white

13.12
#521556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#521556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521556
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521556#FFFFFF#000000##FFFFFF
##5215561.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C58
Deuteranopia (green-blind)
#223354
Tritanopia (blue-blind)
#542034
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521556;
/* rgb */ color: rgb(82, 21, 86);
/* oklch */ color: oklch(32.7% 0.123 325.3);
Tailwind
colors: {
  custom: {
    50: '#855986',
    500: '#521556',
    950: '#000000',
  },
}
SCSS
$custom: #521556;
$custom-light: #855986;
$custom-dark: #000000;
JSON
{
  "hex": "#521556",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 296.308,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3269,
    "c": 0.12336,
    "h": 325.3
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#521556
secondary
#3E8E39
accent
#E4444E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521556

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

Preview Lab → · Contrast checker → · Palette generator →

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