#521650#521650

#521650 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.4% C 0.116 H 329.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#521650
RGBrgb(82, 22, 80)
HSLhsl(302, 58%, 20%)
HSVhsv(302, 73%, 32%)
CMYKcmyk(0%, 73.2%, 2.4%, 67.8%)
CIE-LABlab(19.83, 35.54, -21.58)
CIE-LCHlch(19.83, 41.58, 328.74°)
OKLaboklab(32.41% 0.1001 -0.0595)
OKLCHoklch(32.41% 0.116 329.3)
XYZxyz(5.2145, 2.9472, 7.8821)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521650 #165218
analogous
#361652 #521650 #521632
triadic
#521650 #505216 #165052
tetradic
#521650 #523616 #165218 #163252
square
#521650 #523616 #165218 #163252
split-complementary
#521650 #325216 #165236
monochromatic
#180618 #220921 #521650 #82237F #B330AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##521650#FFFFFF#000000##FFFFFF
##5216501.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)
#0F2B52
Deuteranopia (green-blind)
#26334E
Tritanopia (blue-blind)
#551E31
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521650;
/* rgb */ color: rgb(82, 22, 80);
/* oklch */ color: oklch(32.4% 0.116 329.3);
Tailwind
colors: {
  custom: {
    50: '#855981',
    500: '#521650',
    950: '#000000',
  },
}
SCSS
$custom: #521650;
$custom-light: #855981;
$custom-dark: #000000;
JSON
{
  "hex": "#521650",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 80
  },
  "hsl": {
    "h": 302,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3241,
    "c": 0.11644,
    "h": 329.3
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#521650
secondary
#3A893D
accent
#E14C47
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521650

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

Preview Lab → · Contrast checker → · Palette generator →

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