#521669#521669

#521669 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.141 H 314.6°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#521669
RGBrgb(82, 22, 105)
HSLhsl(283, 65%, 25%)
HSVhsv(283, 79%, 41%)
CMYKcmyk(21.9%, 79%, 0%, 58.8%)
CIE-LABlab(21.53, 40.73, -35.46)
CIE-LCHlch(21.53, 54.01, 318.96°)
OKLaboklab(34.17% 0.0986 -0.1001)
OKLCHoklch(34.17% 0.141 314.6)
XYZxyz(6.3160, 3.3878, 13.6831)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521669 #2D6916
analogous
#281669 #521669 #691657
triadic
#521669 #695216 #166952
tetradic
#521669 #692816 #2D6916 #165769
square
#521669 #692816 #2D6916 #165769
split-complementary
#521669 #576916 #166928
monochromatic
#140519 #2A0B36 #521669 #7A219C #A12BCE

Accessibility & contrast

On white

12.52
#521669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#521669 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521669
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521669#FFFFFF#000000##FFFFFF
##5216691.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306B
Deuteranopia (green-blind)
#113567
Tritanopia (blue-blind)
#50293E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #521669;
/* rgb */ color: rgb(82, 22, 105);
/* oklch */ color: oklch(34.2% 0.141 314.6);
Tailwind
colors: {
  custom: {
    50: '#865a94',
    500: '#521669',
    950: '#000000',
  },
}
SCSS
$custom: #521669;
$custom-light: #865a94;
$custom-dark: #000000;
JSON
{
  "hex": "#521669",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 283.373,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34172,
    "c": 0.14051,
    "h": 314.6
  },
  "luminance": 0.03388
}

Semantic roles & 50–950 ramp

primary
#521669
secondary
#579F3B
accent
#E83F6E
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #521669

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

Preview Lab → · Contrast checker → · Palette generator →

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