#521554#521554

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

Color values

HEX#521554
RGBrgb(82, 21, 84)
HSLhsl(298, 60%, 21%)
HSVhsv(298, 75%, 33%)
CMYKcmyk(2.4%, 75%, 0%, 67.1%)
CIE-LABlab(19.93, 36.74, -24.13)
CIE-LCHlch(19.93, 43.96, 326.71°)
OKLaboklab(32.56% 0.1014 -0.0669)
OKLCHoklch(32.56% 0.122 326.6)
XYZxyz(5.3480, 2.9706, 8.6775)
Luminance0.0297 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521554 #175415
analogous
#321554 #521554 #541536
triadic
#521554 #545215 #155452
tetradic
#521554 #543215 #175415 #153654
square
#521554 #543215 #175415 #153654
split-complementary
#521554 #365415 #155432
monochromatic
#180618 #220923 #521554 #822185 #B22DB6

Accessibility & contrast

On white

13.17
#521554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521554
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521554#FFFFFF#000000##FFFFFF
##5215541.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082B56
Deuteranopia (green-blind)
#243352
Tritanopia (blue-blind)
#541F33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521554;
/* rgb */ color: rgb(82, 21, 84);
/* oklch */ color: oklch(32.6% 0.121 326.6);
Tailwind
colors: {
  custom: {
    50: '#855984',
    500: '#521554',
    950: '#000000',
  },
}
SCSS
$custom: #521554;
$custom-light: #855984;
$custom-dark: #000000;
JSON
{
  "hex": "#521554",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 298.095,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32558,
    "c": 0.1215,
    "h": 326.6
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#521554
secondary
#3C8C39
accent
#E3454A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521554

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

Preview Lab → · Contrast checker → · Palette generator →

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