#522656#522656

#522656 is a dark, moderate purple. Relative luminance 0.039; OKLCH L 35.0% C 0.096 H 324.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#522656
RGBrgb(82, 38, 86)
HSLhsl(295, 39%, 24%)
HSVhsv(295, 56%, 34%)
CMYKcmyk(4.7%, 55.8%, 0%, 66.3%)
CIE-LABlab(23.18, 28.57, -20.34)
CIE-LCHlch(23.18, 35.07, 324.56°)
OKLaboklab(34.96% 0.0777 -0.0561)
OKLCHoklch(34.96% 0.096 324.2)
XYZxyz(5.8524, 3.8522, 9.2376)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522656 #2A5626
analogous
#3A2656 #522656 #562642
triadic
#522656 #565226 #265652
tetradic
#522656 #563A26 #2A5626 #264256
square
#522656 #563A26 #2A5626 #264256
split-complementary
#522656 #425626 #26563A
monochromatic
#140915 #2A132C #522656 #7A3980 #A34CAB

Accessibility & contrast

On white

11.86
#522656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#522656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522656
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522656#FFFFFF#000000##FFFFFF
##5226561.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203458
Deuteranopia (green-blind)
#2D3955
Tritanopia (blue-blind)
#542C3A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522656;
/* rgb */ color: rgb(82, 38, 86);
/* oklch */ color: oklch(35.0% 0.096 324.2);
Tailwind
colors: {
  custom: {
    50: '#846286',
    500: '#522656',
    950: '#000000',
  },
}
SCSS
$custom: #522656;
$custom-light: #846286;
$custom-dark: #000000;
JSON
{
  "hex": "#522656",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 86
  },
  "hsl": {
    "h": 295,
    "s": 38.71,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34963,
    "c": 0.09582,
    "h": 324.2
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#522656
secondary
#54894F
accent
#CF5963
background
#F8F5F8
surface
#EFEAEF
border
#CAC6CA
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #522656

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

Preview Lab → · Contrast checker → · Palette generator →

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