#521553#521553

#521553 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.5% C 0.121 H 327.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#521553
RGBrgb(82, 21, 83)
HSLhsl(299, 60%, 20%)
HSVhsv(299, 75%, 33%)
CMYKcmyk(1.2%, 74.7%, 0%, 67.5%)
CIE-LABlab(19.86, 36.55, -23.55)
CIE-LCHlch(19.86, 43.48, 327.20°)
OKLaboklab(32.49% 0.1014 -0.0652)
OKLCHoklch(32.49% 0.121 327.2)
XYZxyz(5.3091, 2.9551, 8.4727)
Luminance0.0295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521553 #165315
analogous
#331553 #521553 #531535
triadic
#521553 #535215 #155352
tetradic
#521553 #533315 #165315 #153553
square
#521553 #533315 #165315 #153553
split-complementary
#521553 #355315 #155333
monochromatic
#180618 #220922 #521553 #822184 #B32EB5

Accessibility & contrast

On white

13.20
#521553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521553
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521553#FFFFFF#000000##FFFFFF
##5215531.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521553;
/* rgb */ color: rgb(82, 21, 83);
/* oklch */ color: oklch(32.5% 0.121 327.2);
Tailwind
colors: {
  custom: {
    50: '#855983',
    500: '#521553',
    950: '#000000',
  },
}
SCSS
$custom: #521553;
$custom-light: #855983;
$custom-dark: #000000;
JSON
{
  "hex": "#521553",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 299.032,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32492,
    "c": 0.12058,
    "h": 327.2
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#521553
secondary
#3A8B39
accent
#E34548
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521553

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

Preview Lab → · Contrast checker → · Palette generator →

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