#521355#521355

#521355 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.125 H 326.0°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#521355
RGBrgb(82, 19, 85)
HSLhsl(297, 63%, 20%)
HSVhsv(297, 78%, 33%)
CMYKcmyk(3.5%, 77.6%, 0%, 66.7%)
CIE-LABlab(19.70, 37.75, -25.15)
CIE-LCHlch(19.70, 45.36, 326.32°)
OKLaboklab(32.42% 0.1037 -0.0699)
OKLCHoklch(32.42% 0.125 326)
XYZxyz(5.3521, 2.9158, 8.8735)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521355 #165513
analogous
#311355 #521355 #551337
triadic
#521355 #555213 #135552
tetradic
#521355 #553113 #165513 #133755
square
#521355 #553113 #165513 #133755
split-complementary
#521355 #375513 #135531
monochromatic
#180619 #220823 #521355 #821E87 #B329B9

Accessibility & contrast

On white

13.27
#521355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521355
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521355#FFFFFF#000000##FFFFFF
##5213551.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042B57
Deuteranopia (green-blind)
#223253
Tritanopia (blue-blind)
#541E33
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521355;
/* rgb */ color: rgb(82, 19, 85);
/* oklch */ color: oklch(32.4% 0.125 326.0);
Tailwind
colors: {
  custom: {
    50: '#855885',
    500: '#521355',
    950: '#000000',
  },
}
SCSS
$custom: #521355;
$custom-light: #855885;
$custom-dark: #000000;
JSON
{
  "hex": "#521355",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 297.273,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32419,
    "c": 0.12504,
    "h": 326
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#521355
secondary
#3A8D36
accent
#E64149
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521355

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

Preview Lab → · Contrast checker → · Palette generator →

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