#521656#521656

#521656 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.122 H 325.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#521656
RGBrgb(82, 22, 86)
HSLhsl(296, 59%, 21%)
HSVhsv(296, 74%, 34%)
CMYKcmyk(4.7%, 74.4%, 0%, 66.3%)
CIE-LABlab(20.20, 36.71, -25.03)
CIE-LCHlch(20.20, 44.44, 325.72°)
OKLaboklab(32.8% 0.1002 -0.0696)
OKLCHoklch(32.8% 0.122 325.2)
XYZxyz(5.4462, 3.0399, 9.1022)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521656 #1A5616
analogous
#321656 #521656 #56163A
triadic
#521656 #565216 #165652
tetradic
#521656 #563216 #1A5616 #163A56
square
#521656 #563216 #1A5616 #163A56
split-complementary
#521656 #3A5616 #165632
monochromatic
#170618 #240A25 #521656 #802287 #AF2FB7

Accessibility & contrast

On white

13.06
#521656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#521656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521656
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521656#FFFFFF#000000##FFFFFF
##5216561.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072C58
Deuteranopia (green-blind)
#233354
Tritanopia (blue-blind)
#542034
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #521656;
/* rgb */ color: rgb(82, 22, 86);
/* oklch */ color: oklch(32.8% 0.122 325.2);
Tailwind
colors: {
  custom: {
    50: '#855986',
    500: '#521656',
    950: '#000000',
  },
}
SCSS
$custom: #521656;
$custom-light: #855986;
$custom-dark: #000000;
JSON
{
  "hex": "#521656",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 296.25,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32798,
    "c": 0.12201,
    "h": 325.2
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#521656
secondary
#408D3A
accent
#E2454F
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521656

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

Preview Lab → · Contrast checker → · Palette generator →

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