#522C65#522C65

#522C65 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.9% C 0.102 H 313.2°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#522C65
RGBrgb(82, 44, 101)
HSLhsl(280, 39%, 28%)
HSVhsv(280, 56%, 40%)
CMYKcmyk(18.8%, 56.4%, 0%, 60.4%)
CIE-LABlab(25.37, 28.54, -26.73)
CIE-LCHlch(25.37, 39.10, 316.87°)
OKLaboklab(36.86% 0.0702 -0.0747)
OKLCHoklch(36.86% 0.102 313.2)
XYZxyz(6.7289, 4.5350, 12.8303)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C65 #3F652C
analogous
#352C65 #522C65 #652C5B
triadic
#522C65 #65522C #2C6552
tetradic
#522C65 #65352C #3F652C #2C5B65
square
#522C65 #65352C #3F652C #2C5B65
split-complementary
#522C65 #5B652C #2C6535
monochromatic
#110915 #2F193A #522C65 #753F90 #9656B5

Accessibility & contrast

On white

11.01
#522C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#522C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C65
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C65#FFFFFF#000000##FFFFFF
##522C651.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A67
Deuteranopia (green-blind)
#2A3D64
Tritanopia (blue-blind)
#503544
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522c65;
/* rgb */ color: rgb(82, 44, 101);
/* oklch */ color: oklch(36.9% 0.102 313.2);
Tailwind
colors: {
  custom: {
    50: '#846791',
    500: '#522c65',
    950: '#000000',
  },
}
SCSS
$custom: #522c65;
$custom-light: #846791;
$custom-dark: #000000;
JSON
{
  "hex": "#522c65",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 280,
    "s": 39.31,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36857,
    "c": 0.10246,
    "h": 313.2
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#522C65
secondary
#6C9756
accent
#CF5980
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060D
muted
#7C7A7D

Preview Lab

Preview with #522C65

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

Preview Lab → · Contrast checker → · Palette generator →

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