#521555#521555

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

Color values

HEX#521555
RGBrgb(82, 21, 85)
HSLhsl(297, 60%, 21%)
HSVhsv(297, 75%, 33%)
CMYKcmyk(3.5%, 75.3%, 0%, 66.7%)
CIE-LABlab(19.99, 36.94, -24.70)
CIE-LCHlch(19.99, 44.44, 326.23°)
OKLaboklab(32.62% 0.1014 -0.0686)
OKLCHoklch(32.62% 0.122 325.9)
XYZxyz(5.3874, 2.9864, 8.8852)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521555 #185515
analogous
#321555 #521555 #551538
triadic
#521555 #555215 #155552
tetradic
#521555 #553215 #185515 #153855
square
#521555 #553215 #185515 #153855
split-complementary
#521555 #385515 #155532
monochromatic
#180619 #230924 #521555 #812186 #B12DB7

Accessibility & contrast

On white

13.15
#521555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521555
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521555#FFFFFF#000000##FFFFFF
##5215551.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072B57
Deuteranopia (green-blind)
#233353
Tritanopia (blue-blind)
#541F33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521555;
/* rgb */ color: rgb(82, 21, 85);
/* oklch */ color: oklch(32.6% 0.122 325.9);
Tailwind
colors: {
  custom: {
    50: '#855985',
    500: '#521555',
    950: '#000000',
  },
}
SCSS
$custom: #521555;
$custom-light: #855985;
$custom-dark: #000000;
JSON
{
  "hex": "#521555",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 297.188,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32624,
    "c": 0.12243,
    "h": 325.9
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#521555
secondary
#3D8D39
accent
#E4444C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521555

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

Preview Lab → · Contrast checker → · Palette generator →

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