#521652#521652

#521652 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.118 H 327.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#521652
RGBrgb(82, 22, 82)
HSLhsl(300, 58%, 20%)
HSVhsv(300, 73%, 32%)
CMYKcmyk(0%, 73.2%, 0%, 67.8%)
CIE-LABlab(19.95, 35.93, -22.74)
CIE-LCHlch(19.95, 42.52, 327.67°)
OKLaboklab(32.54% 0.1002 -0.0629)
OKLCHoklch(32.54% 0.118 327.9)
XYZxyz(5.2895, 2.9772, 8.2771)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521652 #165216
analogous
#341652 #521652 #521634
triadic
#521652 #525216 #165252
tetradic
#521652 #523416 #165216 #163452
square
#521652 #523416 #165216 #163452
split-complementary
#521652 #345216 #165234
monochromatic
#180618 #220922 #521652 #822382 #B330B3

Accessibility & contrast

On white

13.16
#521652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521652
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521652#FFFFFF#000000##FFFFFF
##5216521.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2B54
Deuteranopia (green-blind)
#253350
Tritanopia (blue-blind)
#551E32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521652;
/* rgb */ color: rgb(82, 22, 82);
/* oklch */ color: oklch(32.5% 0.118 327.9);
Tailwind
colors: {
  custom: {
    50: '#855983',
    500: '#521652',
    950: '#000000',
  },
}
SCSS
$custom: #521652;
$custom-light: #855983;
$custom-dark: #000000;
JSON
{
  "hex": "#521652",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32536,
    "c": 0.11828,
    "h": 327.9
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#521652
secondary
#3A893A
accent
#E14747
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521652

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

Preview Lab → · Contrast checker → · Palette generator →

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