#521350#521350

#521350 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.121 H 329.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#521350
RGBrgb(82, 19, 80)
HSLhsl(302, 62%, 20%)
HSVhsv(302, 77%, 32%)
CMYKcmyk(0%, 76.8%, 2.4%, 67.8%)
CIE-LABlab(19.39, 36.80, -22.28)
CIE-LCHlch(19.39, 43.01, 328.81°)
OKLaboklab(32.09% 0.1037 -0.0615)
OKLCHoklch(32.09% 0.121 329.3)
XYZxyz(5.1605, 2.8392, 7.8641)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521350 #135215
analogous
#351352 #521350 #521330
triadic
#521350 #505213 #135052
tetradic
#521350 #523513 #135215 #133052
square
#521350 #523513 #135215 #133052
split-complementary
#521350 #305213 #135235
monochromatic
#190618 #200720 #521350 #841F80 #B52AB1

Accessibility & contrast

On white

13.39
#521350 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#521350 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521350
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521350#FFFFFF#000000##FFFFFF
##5213501.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2A52
Deuteranopia (green-blind)
#25324E
Tritanopia (blue-blind)
#551C30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521350;
/* rgb */ color: rgb(82, 19, 80);
/* oklch */ color: oklch(32.1% 0.121 329.3);
Tailwind
colors: {
  custom: {
    50: '#855881',
    500: '#521350',
    950: '#000000',
  },
}
SCSS
$custom: #521350;
$custom-light: #855881;
$custom-dark: #000000;
JSON
{
  "hex": "#521350",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 80
  },
  "hsl": {
    "h": 301.905,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32091,
    "c": 0.12054,
    "h": 329.3
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#521350
secondary
#368A39
accent
#E54842
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521350

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

Preview Lab → · Contrast checker → · Palette generator →

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