#522F5C#522F5C

#522F5C is a dark, moderate purple. Relative luminance 0.046; OKLCH L 36.8% C 0.086 H 318.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#522F5C
RGBrgb(82, 47, 92)
HSLhsl(287, 32%, 27%)
HSVhsv(287, 49%, 36%)
CMYKcmyk(10.9%, 48.9%, 0%, 63.9%)
CIE-LABlab(25.56, 24.56, -20.55)
CIE-LCHlch(25.56, 32.03, 320.07°)
OKLaboklab(36.84% 0.0641 -0.0568)
OKLCHoklch(36.84% 0.086 318.5)
XYZxyz(6.4277, 4.5998, 10.6724)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F5C #395C2F
analogous
#3C2F5C #522F5C #5C2F50
triadic
#522F5C #5C522F #2F5C52
tetradic
#522F5C #5C3C2F #395C2F #2F505C
square
#522F5C #5C3C2F #395C2F #2F505C
split-complementary
#522F5C #505C2F #2F5C3C
monochromatic
#120A14 #2E1A33 #522F5C #764485 #995AAB

Accessibility & contrast

On white

10.94
#522F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#522F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F5C
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F5C#FFFFFF#000000##FFFFFF
##522F5C1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5E
Deuteranopia (green-blind)
#313E5B
Tritanopia (blue-blind)
#523541
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522f5c;
/* rgb */ color: rgb(82, 47, 92);
/* oklch */ color: oklch(36.8% 0.086 318.5);
Tailwind
colors: {
  custom: {
    50: '#84688a',
    500: '#522f5c',
    950: '#000000',
  },
}
SCSS
$custom: #522f5c;
$custom-light: #84688a;
$custom-dark: #000000;
JSON
{
  "hex": "#522f5c",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 286.667,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36838,
    "c": 0.08564,
    "h": 318.5
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#522F5C
secondary
#658E59
accent
#C95F77
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #522F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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