#522754#522754

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

Color values

HEX#522754
RGBrgb(82, 39, 84)
HSLhsl(297, 37%, 24%)
HSVhsv(297, 54%, 33%)
CMYKcmyk(2.4%, 53.6%, 0%, 67.1%)
CIE-LABlab(23.29, 27.56, -18.83)
CIE-LCHlch(23.29, 33.38, 325.66°)
OKLaboklab(35.01% 0.0758 -0.0518)
OKLCHoklch(35.01% 0.092 325.7)
XYZxyz(5.8053, 3.8853, 8.8299)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522754 #295427
analogous
#3C2754 #522754 #542740
triadic
#522754 #545227 #275452
tetradic
#522754 #543C27 #295427 #274054
square
#522754 #543C27 #295427 #274054
split-complementary
#522754 #405427 #27543C
monochromatic
#140A15 #29142A #522754 #7B3A7E #A44EA8

Accessibility & contrast

On white

11.82
#522754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522754
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522754#FFFFFF#000000##FFFFFF
##5227541.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223456
Deuteranopia (green-blind)
#2F3953
Tritanopia (blue-blind)
#542C39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #522754;
/* rgb */ color: rgb(82, 39, 84);
/* oklch */ color: oklch(35.0% 0.092 325.7);
Tailwind
colors: {
  custom: {
    50: '#846384',
    500: '#522754',
    950: '#000000',
  },
}
SCSS
$custom: #522754;
$custom-light: #846384;
$custom-dark: #000000;
JSON
{
  "hex": "#522754",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 297.333,
    "s": 36.585,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3501,
    "c": 0.09175,
    "h": 325.7
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#522754
secondary
#528750
accent
#CD5B60
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B050B
muted
#7C7A7C

Preview Lab

Preview with #522754

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

Preview Lab → · Contrast checker → · Palette generator →

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