#522E52#522E52

#522E52 is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.1% C 0.076 H 327.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#522E52
RGBrgb(82, 46, 82)
HSLhsl(300, 28%, 25%)
HSVhsv(300, 44%, 32%)
CMYKcmyk(0%, 43.9%, 0%, 67.8%)
CIE-LABlab(24.82, 22.91, -15.12)
CIE-LCHlch(24.82, 27.46, 326.58°)
OKLaboklab(36.12% 0.0635 -0.0412)
OKLCHoklch(36.12% 0.076 327)
XYZxyz(5.9795, 4.3573, 8.5071)
Luminance0.0436 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E52 #2E522E
analogous
#402E52 #522E52 #522E40
triadic
#522E52 #52522E #2E5252
tetradic
#522E52 #52402E #2E522E #2E4052
square
#522E52 #52402E #2E522E #2E4052
split-complementary
#522E52 #40522E #2E5240
monochromatic
#140B14 #2B182B #522E52 #794479 #A05AA0

Accessibility & contrast

On white

11.22
#522E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#522E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E52
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E52#FFFFFF#000000##FFFFFF
##522E521.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3853
Deuteranopia (green-blind)
#353D51
Tritanopia (blue-blind)
#54313C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522e52;
/* rgb */ color: rgb(82, 46, 82);
/* oklch */ color: oklch(36.1% 0.076 327.0);
Tailwind
colors: {
  custom: {
    50: '#836882',
    500: '#522e52',
    950: '#000000',
  },
}
SCSS
$custom: #522e52;
$custom-light: #836882;
$custom-dark: #000000;
JSON
{
  "hex": "#522e52",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 28.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36118,
    "c": 0.07575,
    "h": 327
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#522E52
secondary
#588458
accent
#C46363
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #522E52

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

Preview Lab → · Contrast checker → · Palette generator →

#522E52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva