#522759#522759

#522759 is a dark, moderate purple. Relative luminance 0.040; OKLCH L 35.3% C 0.097 H 321.9°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#522759
RGBrgb(82, 39, 89)
HSLhsl(292, 39%, 25%)
HSVhsv(292, 56%, 35%)
CMYKcmyk(7.9%, 56.2%, 0%, 65.1%)
CIE-LABlab(23.56, 28.66, -21.72)
CIE-LCHlch(23.56, 35.96, 322.84°)
OKLaboklab(35.3% 0.0765 -0.0601)
OKLCHoklch(35.3% 0.097 321.9)
XYZxyz(6.0082, 3.9664, 9.8984)
Luminance0.0397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522759 #2E5927
analogous
#392759 #522759 #592747
triadic
#522759 #595227 #275952
tetradic
#522759 #593927 #2E5927 #274759
square
#522759 #593927 #2E5927 #274759
split-complementary
#522759 #475927 #275939
monochromatic
#140915 #2B142E #522759 #793A84 #A04CAE

Accessibility & contrast

On white

11.71
#522759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522759
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522759#FFFFFF#000000##FFFFFF
##5227591.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F355B
Deuteranopia (green-blind)
#2C3A58
Tritanopia (blue-blind)
#532E3C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #522759;
/* rgb */ color: rgb(82, 39, 89);
/* oklch */ color: oklch(35.3% 0.097 321.9);
Tailwind
colors: {
  custom: {
    50: '#846388',
    500: '#522759',
    950: '#000000',
  },
}
SCSS
$custom: #522759;
$custom-light: #846388;
$custom-dark: #000000;
JSON
{
  "hex": "#522759",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 89
  },
  "hsl": {
    "h": 291.6,
    "s": 39.062,
    "l": 25.098
  },
  "oklch": {
    "l": 0.353,
    "c": 0.09732,
    "h": 321.9
  },
  "luminance": 0.03966
}

Semantic roles & 50–950 ramp

primary
#522759
secondary
#588C50
accent
#CF5969
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B050B
muted
#7C7A7C

Preview Lab

Preview with #522759

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

Preview Lab → · Contrast checker → · Palette generator →

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