#522757#522757

#522757 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.2% C 0.095 H 323.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#522757
RGBrgb(82, 39, 87)
HSLhsl(294, 38%, 25%)
HSVhsv(294, 55%, 34%)
CMYKcmyk(5.7%, 55.2%, 0%, 65.9%)
CIE-LABlab(23.45, 28.21, -20.57)
CIE-LCHlch(23.45, 34.92, 323.90°)
OKLaboklab(35.18% 0.0763 -0.0568)
OKLCHoklch(35.18% 0.095 323.3)
XYZxyz(5.9253, 3.9333, 9.4621)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522757 #2C5727
analogous
#3A2757 #522757 #572744
triadic
#522757 #575227 #275752
tetradic
#522757 #573A27 #2C5727 #274457
square
#522757 #573A27 #2C5727 #274457
split-complementary
#522757 #445727 #27573A
monochromatic
#140915 #2A142D #522757 #7A3A81 #A24DAC

Accessibility & contrast

On white

11.75
#522757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#522757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522757
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522757#FFFFFF#000000##FFFFFF
##5227571.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203559
Deuteranopia (green-blind)
#2D3A56
Tritanopia (blue-blind)
#532D3B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #522757;
/* rgb */ color: rgb(82, 39, 87);
/* oklch */ color: oklch(35.2% 0.095 323.3);
Tailwind
colors: {
  custom: {
    50: '#846386',
    500: '#522757',
    950: '#000000',
  },
}
SCSS
$custom: #522757;
$custom-light: #846386;
$custom-dark: #000000;
JSON
{
  "hex": "#522757",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 87
  },
  "hsl": {
    "h": 293.75,
    "s": 38.095,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35182,
    "c": 0.09507,
    "h": 323.3
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#522757
secondary
#568A50
accent
#CE5A66
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B050B
muted
#7C7A7C

Preview Lab

Preview with #522757

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

Preview Lab → · Contrast checker → · Palette generator →

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