#521959#521959

#521959 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.121 H 323.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#521959
RGBrgb(82, 25, 89)
HSLhsl(293, 56%, 22%)
HSVhsv(293, 72%, 35%)
CMYKcmyk(7.9%, 71.9%, 0%, 65.1%)
CIE-LABlab(20.87, 35.99, -25.98)
CIE-LCHlch(20.87, 44.39, 324.18°)
OKLaboklab(33.34% 0.0966 -0.0723)
OKLCHoklch(33.34% 0.121 323.2)
XYZxyz(5.6303, 3.2107, 9.7724)
Luminance0.0321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521959 #205919
analogous
#321959 #521959 #591940
triadic
#521959 #595219 #195952
tetradic
#521959 #593219 #205919 #194059
square
#521959 #593219 #205919 #194059
split-complementary
#521959 #405919 #195932
monochromatic
#160718 #260C29 #521959 #7E2689 #AA34B9

Accessibility & contrast

On white

12.79
#521959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#521959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521959
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521959#FFFFFF#000000##FFFFFF
##5219591.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092E5B
Deuteranopia (green-blind)
#233457
Tritanopia (blue-blind)
#532336
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #521959;
/* rgb */ color: rgb(82, 25, 89);
/* oklch */ color: oklch(33.3% 0.121 323.2);
Tailwind
colors: {
  custom: {
    50: '#855b88',
    500: '#521959',
    950: '#000000',
  },
}
SCSS
$custom: #521959;
$custom-light: #855b88;
$custom-dark: #000000;
JSON
{
  "hex": "#521959",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 293.438,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33338,
    "c": 0.12066,
    "h": 323.2
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#521959
secondary
#478F3E
accent
#DF4859
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521959

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

Preview Lab → · Contrast checker → · Palette generator →

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