#522756#522756

#522756 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.1% C 0.094 H 324.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#522756
RGBrgb(82, 39, 86)
HSLhsl(295, 38%, 25%)
HSVhsv(295, 55%, 34%)
CMYKcmyk(4.7%, 54.7%, 0%, 66.3%)
CIE-LABlab(23.40, 28.00, -19.99)
CIE-LCHlch(23.40, 34.40, 324.47°)
OKLaboklab(35.12% 0.0761 -0.0551)
OKLCHoklch(35.12% 0.094 324.1)
XYZxyz(5.8848, 3.9170, 9.2484)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522756 #2B5627
analogous
#3B2756 #522756 #562743
triadic
#522756 #565227 #275652
tetradic
#522756 #563B27 #2B5627 #274356
square
#522756 #563B27 #2B5627 #274356
split-complementary
#522756 #435627 #27563B
monochromatic
#140A15 #2A142C #522756 #7A3A80 #A24DAA

Accessibility & contrast

On white

11.78
#522756 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#522756 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522756
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522756#FFFFFF#000000##FFFFFF
##5227561.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213458
Deuteranopia (green-blind)
#2E3A55
Tritanopia (blue-blind)
#542D3A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #522756;
/* rgb */ color: rgb(82, 39, 86);
/* oklch */ color: oklch(35.1% 0.094 324.1);
Tailwind
colors: {
  custom: {
    50: '#846386',
    500: '#522756',
    950: '#000000',
  },
}
SCSS
$custom: #522756;
$custom-light: #846386;
$custom-dark: #000000;
JSON
{
  "hex": "#522756",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 86
  },
  "hsl": {
    "h": 294.894,
    "s": 37.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35124,
    "c": 0.09396,
    "h": 324.1
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#522756
secondary
#558950
accent
#CE5A64
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B050B
muted
#7C7A7C

Preview Lab

Preview with #522756

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

Preview Lab → · Contrast checker → · Palette generator →

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