#521550#521550

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

Color values

HEX#521550
RGBrgb(82, 21, 80)
HSLhsl(302, 59%, 20%)
HSVhsv(302, 74%, 32%)
CMYKcmyk(0%, 74.4%, 2.4%, 67.8%)
CIE-LABlab(19.68, 35.97, -21.82)
CIE-LCHlch(19.68, 42.07, 328.77°)
OKLaboklab(32.3% 0.1013 -0.0602)
OKLCHoklch(32.3% 0.118 329.3)
XYZxyz(5.1958, 2.9097, 7.8758)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521550 #155217
analogous
#351552 #521550 #521532
triadic
#521550 #505215 #155052
tetradic
#521550 #523515 #155217 #153252
square
#521550 #523515 #155217 #153252
split-complementary
#521550 #325215 #155235
monochromatic
#180618 #210920 #521550 #832180 #B32EAF

Accessibility & contrast

On white

13.28
#521550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#521550 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521550
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521550#FFFFFF#000000##FFFFFF
##5215501.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2A52
Deuteranopia (green-blind)
#26324E
Tritanopia (blue-blind)
#551D30
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521550;
/* rgb */ color: rgb(82, 21, 80);
/* oklch */ color: oklch(32.3% 0.118 329.3);
Tailwind
colors: {
  custom: {
    50: '#855981',
    500: '#521550',
    950: '#000000',
  },
}
SCSS
$custom: #521550;
$custom-light: #855981;
$custom-dark: #000000;
JSON
{
  "hex": "#521550",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 301.967,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.323,
    "c": 0.11785,
    "h": 329.3
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#521550
secondary
#398A3C
accent
#E24B45
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521550

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

Preview Lab → · Contrast checker → · Palette generator →

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