#522F4E#522F4E

#522F4E is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.1% C 0.069 H 331.1°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#522F4E
RGBrgb(82, 47, 78)
HSLhsl(307, 27%, 25%)
HSVhsv(307, 43%, 32%)
CMYKcmyk(0%, 42.7%, 4.9%, 67.8%)
CIE-LABlab(24.88, 21.44, -12.37)
CIE-LCHlch(24.88, 24.75, 330.01°)
OKLaboklab(36.1% 0.0607 -0.0335)
OKLCHoklch(36.1% 0.069 331.1)
XYZxyz(5.8713, 4.3772, 7.7419)
Luminance0.0438 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F4E #2F5233
analogous
#442F52 #522F4E #522F3C
triadic
#522F4E #4E522F #2F4E52
tetradic
#522F4E #52442F #2F5233 #2F3C52
square
#522F4E #52442F #2F5233 #2F3C52
split-complementary
#522F4E #3C522F #2F5244
monochromatic
#130B13 #2B1929 #522F4E #794573 #A05C98

Accessibility & contrast

On white

11.20
#522F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#522F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F4E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F4E#FFFFFF#000000##FFFFFF
##522F4E1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#373D4D
Tritanopia (blue-blind)
#55313B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522f4e;
/* rgb */ color: rgb(82, 47, 78);
/* oklch */ color: oklch(36.1% 0.069 331.1);
Tailwind
colors: {
  custom: {
    50: '#83687f',
    500: '#522f4e',
    950: '#000000',
  },
}
SCSS
$custom: #522f4e;
$custom-light: #83687f;
$custom-dark: #000000;
JSON
{
  "hex": "#522f4e",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 306.857,
    "s": 27.132,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36104,
    "c": 0.0693,
    "h": 331.1
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#522F4E
secondary
#59835E
accent
#C36F64
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #522F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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