#521955#521955

#521955 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 33.1% C 0.117 H 325.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#521955
RGBrgb(82, 25, 85)
HSLhsl(297, 55%, 22%)
HSVhsv(297, 71%, 33%)
CMYKcmyk(3.5%, 70.6%, 0%, 66.7%)
CIE-LABlab(20.62, 35.18, -23.70)
CIE-LCHlch(20.62, 42.42, 326.03°)
OKLaboklab(33.07% 0.0965 -0.0657)
OKLCHoklch(33.07% 0.117 325.7)
XYZxyz(5.4669, 3.1453, 8.9117)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521955 #1C5519
analogous
#341955 #521955 #55193A
triadic
#521955 #555219 #195552
tetradic
#521955 #553419 #1C5519 #193A55
square
#521955 #553419 #1C5519 #193A55
split-complementary
#521955 #3A5519 #195534
monochromatic
#170718 #240B26 #521955 #802784 #AD35B4

Accessibility & contrast

On white

12.89
#521955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#521955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521955
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521955#FFFFFF#000000##FFFFFF
##5219551.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2D57
Deuteranopia (green-blind)
#253453
Tritanopia (blue-blind)
#542234
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #521955;
/* rgb */ color: rgb(82, 25, 85);
/* oklch */ color: oklch(33.1% 0.117 325.7);
Tailwind
colors: {
  custom: {
    50: '#855b85',
    500: '#521955',
    950: '#000000',
  },
}
SCSS
$custom: #521955;
$custom-light: #855b85;
$custom-dark: #000000;
JSON
{
  "hex": "#521955",
  "rgb": {
    "r": 82,
    "g": 25,
    "b": 85
  },
  "hsl": {
    "h": 297,
    "s": 54.545,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33075,
    "c": 0.11675,
    "h": 325.7
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#521955
secondary
#428B3E
accent
#DE4A51
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521955

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

Preview Lab → · Contrast checker → · Palette generator →

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