#521950#521950

#521950 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.112 H 329.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#521950
RGBrgb(82, 25, 80)
HSLhsl(302, 53%, 21%)
HSVhsv(302, 70%, 32%)
CMYKcmyk(0%, 69.5%, 2.4%, 67.8%)
CIE-LABlab(20.32, 34.18, -20.81)
CIE-LCHlch(20.32, 40.02, 328.67°)
OKLaboklab(32.76% 0.0962 -0.0573)
OKLCHoklch(32.76% 0.112 329.2)
XYZxyz(5.2752, 3.0687, 7.9023)
Luminance0.0307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521950 #19521B
analogous
#371952 #521950 #521933
triadic
#521950 #505219 #195052
tetradic
#521950 #523719 #19521B #193352
square
#521950 #523719 #19521B #193352
split-complementary
#521950 #335219 #195237
monochromatic
#170717 #230B22 #521950 #81277E #B036AC

Accessibility & contrast

On white

13.01
#521950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#521950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521950
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521950#FFFFFF#000000##FFFFFF
##5219501.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C52
Deuteranopia (green-blind)
#28344E
Tritanopia (blue-blind)
#552032
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #521950;
/* rgb */ color: rgb(82, 25, 80);
/* oklch */ color: oklch(32.8% 0.112 329.2);
Tailwind
colors: {
  custom: {
    50: '#855b81',
    500: '#521950',
    950: '#000000',
  },
}
SCSS
$custom: #521950;
$custom-light: #855b81;
$custom-dark: #000000;
JSON
{
  "hex": "#521950",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 302.105,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32761,
    "c": 0.11199,
    "h": 329.2
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#521950
secondary
#3E8841
accent
#DD504B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #521950

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

Preview Lab → · Contrast checker → · Palette generator →

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