#521654#521654

#521654 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.120 H 326.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#521654
RGBrgb(82, 22, 84)
HSLhsl(298, 58%, 21%)
HSVhsv(298, 74%, 33%)
CMYKcmyk(2.4%, 73.8%, 0%, 67.1%)
CIE-LABlab(20.08, 36.32, -23.89)
CIE-LCHlch(20.08, 43.47, 326.67°)
OKLaboklab(32.67% 0.1002 -0.0662)
OKLCHoklch(32.67% 0.12 326.5)
XYZxyz(5.3667, 3.0081, 8.6837)
Luminance0.0301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521654 #185416
analogous
#331654 #521654 #541637
triadic
#521654 #545216 #165452
tetradic
#521654 #543316 #185416 #163754
square
#521654 #543316 #185416 #163754
split-complementary
#521654 #375416 #165433
monochromatic
#180618 #230924 #521654 #812384 #B12FB5

Accessibility & contrast

On white

13.11
#521654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521654
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521654#FFFFFF#000000##FFFFFF
##5216541.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521654;
/* rgb */ color: rgb(82, 22, 84);
/* oklch */ color: oklch(32.7% 0.120 326.5);
Tailwind
colors: {
  custom: {
    50: '#855984',
    500: '#521654',
    950: '#000000',
  },
}
SCSS
$custom: #521654;
$custom-light: #855984;
$custom-dark: #000000;
JSON
{
  "hex": "#521654",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 298.065,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32666,
    "c": 0.12013,
    "h": 326.5
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#521654
secondary
#3D8B3A
accent
#E2464B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521654

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

Preview Lab → · Contrast checker → · Palette generator →

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