#522650#522650

#522650 is a dark, moderate purple. Relative luminance 0.038; OKLCH L 34.6% C 0.089 H 329.0°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#522650
RGBrgb(82, 38, 80)
HSLhsl(303, 37%, 24%)
HSVhsv(303, 54%, 32%)
CMYKcmyk(0%, 53.7%, 2.4%, 67.8%)
CIE-LABlab(22.86, 27.30, -16.83)
CIE-LCHlch(22.86, 32.07, 328.35°)
OKLaboklab(34.63% 0.0766 -0.046)
OKLCHoklch(34.63% 0.089 329)
XYZxyz(5.6207, 3.7596, 8.0175)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522650 #265228
analogous
#3E2652 #522650 #52263A
triadic
#522650 #505226 #265052
tetradic
#522650 #523E26 #265228 #263A52
square
#522650 #523E26 #265228 #263A52
split-complementary
#522650 #3A5226 #26523E
monochromatic
#150A14 #281327 #522650 #7C3979 #A64DA2

Accessibility & contrast

On white

11.99
#522650 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#522650 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522650
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522650#FFFFFF#000000##FFFFFF
##5226501.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233351
Deuteranopia (green-blind)
#30394F
Tritanopia (blue-blind)
#552A37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522650;
/* rgb */ color: rgb(82, 38, 80);
/* oklch */ color: oklch(34.6% 0.089 329.0);
Tailwind
colors: {
  custom: {
    50: '#846281',
    500: '#522650',
    950: '#000000',
  },
}
SCSS
$custom: #522650;
$custom-light: #846281;
$custom-dark: #000000;
JSON
{
  "hex": "#522650",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 80
  },
  "hsl": {
    "h": 302.727,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34625,
    "c": 0.08938,
    "h": 329
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#522650
secondary
#4F8551
accent
#CD605B
background
#F8F5F7
surface
#EFEAEE
border
#CAC6C9
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #522650

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

Preview Lab → · Contrast checker → · Palette generator →

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