#522952#522952

#522952 is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.2% C 0.086 H 327.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#522952
RGBrgb(82, 41, 82)
HSLhsl(300, 33%, 24%)
HSVhsv(300, 50%, 32%)
CMYKcmyk(0%, 50%, 0%, 67.8%)
CIE-LABlab(23.64, 25.95, -16.96)
CIE-LCHlch(23.64, 31.00, 326.84°)
OKLaboklab(35.23% 0.0721 -0.0464)
OKLCHoklch(35.23% 0.086 327.2)
XYZxyz(5.7955, 3.9892, 8.4457)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522952 #295229
analogous
#3E2952 #522952 #52293E
triadic
#522952 #525229 #295252
tetradic
#522952 #523E29 #295229 #293E52
square
#522952 #523E29 #295229 #293E52
split-complementary
#522952 #3E5229 #29523E
monochromatic
#140A14 #291529 #522952 #7B3D7B #A452A4

Accessibility & contrast

On white

11.68
#522952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#522952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522952
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522952#FFFFFF#000000##FFFFFF
##5229521.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253553
Deuteranopia (green-blind)
#313A51
Tritanopia (blue-blind)
#542D39
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #522952;
/* rgb */ color: rgb(82, 41, 82);
/* oklch */ color: oklch(35.2% 0.086 327.2);
Tailwind
colors: {
  custom: {
    50: '#846482',
    500: '#522952',
    950: '#000000',
  },
}
SCSS
$custom: #522952;
$custom-light: #846482;
$custom-dark: #000000;
JSON
{
  "hex": "#522952",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 33.333,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35234,
    "c": 0.08572,
    "h": 327.2
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#522952
secondary
#528452
accent
#C95E5E
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B050A
muted
#7C7A7C

Preview Lab

Preview with #522952

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

Preview Lab → · Contrast checker → · Palette generator →

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