#521354#521354

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

Color values

HEX#521354
RGBrgb(82, 19, 84)
HSLhsl(298, 63%, 20%)
HSVhsv(298, 77%, 33%)
CMYKcmyk(2.4%, 77.4%, 0%, 67.1%)
CIE-LABlab(19.64, 37.56, -24.58)
CIE-LCHlch(19.64, 44.89, 326.79°)
OKLaboklab(32.35% 0.1037 -0.0682)
OKLCHoklch(32.35% 0.124 326.7)
XYZxyz(5.3127, 2.9000, 8.6657)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521354 #155413
analogous
#311354 #521354 #541335
triadic
#521354 #545213 #135452
tetradic
#521354 #543113 #155413 #133554
square
#521354 #543113 #155413 #133554
split-complementary
#521354 #355413 #135431
monochromatic
#180619 #210822 #521354 #831E86 #B32AB8

Accessibility & contrast

On white

13.29
#521354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521354
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521354#FFFFFF#000000##FFFFFF
##5213541.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052A56
Deuteranopia (green-blind)
#223252
Tritanopia (blue-blind)
#541D32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521354;
/* rgb */ color: rgb(82, 19, 84);
/* oklch */ color: oklch(32.4% 0.124 326.7);
Tailwind
colors: {
  custom: {
    50: '#855884',
    500: '#521354',
    950: '#000000',
  },
}
SCSS
$custom: #521354;
$custom-light: #855884;
$custom-dark: #000000;
JSON
{
  "hex": "#521354",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 298.154,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.32352,
    "c": 0.12412,
    "h": 326.7
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#521354
secondary
#398C36
accent
#E64247
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521354

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

Preview Lab → · Contrast checker → · Palette generator →

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