#522E55#522E55

#522E55 is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.3% C 0.079 H 324.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#522E55
RGBrgb(82, 46, 85)
HSLhsl(295, 30%, 26%)
HSVhsv(295, 46%, 33%)
CMYKcmyk(3.5%, 45.9%, 0%, 66.7%)
CIE-LABlab(24.96, 23.57, -16.88)
CIE-LCHlch(24.96, 29.00, 324.39°)
OKLaboklab(36.27% 0.0643 -0.0463)
OKLCHoklch(36.27% 0.079 324.2)
XYZxyz(6.0962, 4.4040, 9.1215)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E55 #31552E
analogous
#3E2E55 #522E55 #552E44
triadic
#522E55 #55522E #2E5552
tetradic
#522E55 #553E2E #31552E #2E4455
square
#522E55 #553E2E #31552E #2E4455
split-complementary
#522E55 #44552E #2E553E
monochromatic
#130B14 #2C192D #522E55 #78437D #9F59A4

Accessibility & contrast

On white

11.17
#522E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#522E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E55
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E55#FFFFFF#000000##FFFFFF
##522E551.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3856
Deuteranopia (green-blind)
#343D54
Tritanopia (blue-blind)
#54323D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522e55;
/* rgb */ color: rgb(82, 46, 85);
/* oklch */ color: oklch(36.3% 0.079 324.2);
Tailwind
colors: {
  custom: {
    50: '#836885',
    500: '#522e55',
    950: '#000000',
  },
}
SCSS
$custom: #522e55;
$custom-light: #836885;
$custom-dark: #000000;
JSON
{
  "hex": "#522e55",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 85
  },
  "hsl": {
    "h": 295.385,
    "s": 29.771,
    "l": 25.686
  },
  "oklch": {
    "l": 0.36274,
    "c": 0.07919,
    "h": 324.2
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#522E55
secondary
#5C8758
accent
#C66269
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #522E55

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

Preview Lab → · Contrast checker → · Palette generator →

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