#522F56#522F56

#522F56 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 36.5% C 0.078 H 323.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#522F56
RGBrgb(82, 47, 86)
HSLhsl(294, 29%, 26%)
HSVhsv(294, 45%, 34%)
CMYKcmyk(4.7%, 45.3%, 0%, 66.3%)
CIE-LABlab(25.26, 23.18, -17.09)
CIE-LCHlch(25.26, 28.80, 323.60°)
OKLaboklab(36.51% 0.0628 -0.0469)
OKLCHoklch(36.51% 0.078 323.3)
XYZxyz(6.1757, 4.4990, 9.3454)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F56 #33562F
analogous
#3E2F56 #522F56 #562F46
triadic
#522F56 #56522F #2F5652
tetradic
#522F56 #563E2F #33562F #2F4656
square
#522F56 #563E2F #33562F #2F4656
split-complementary
#522F56 #46562F #2F563E
monochromatic
#130B14 #2C192E #522F56 #78457E #9D5AA5

Accessibility & contrast

On white

11.05
#522F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#522F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F56
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F56#FFFFFF#000000##FFFFFF
##522F561.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3957
Deuteranopia (green-blind)
#343D55
Tritanopia (blue-blind)
#53333E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522f56;
/* rgb */ color: rgb(82, 47, 86);
/* oklch */ color: oklch(36.5% 0.078 323.3);
Tailwind
colors: {
  custom: {
    50: '#836885',
    500: '#522f56',
    950: '#000000',
  },
}
SCSS
$custom: #522f56;
$custom-light: #836885;
$custom-dark: #000000;
JSON
{
  "hex": "#522f56",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 293.846,
    "s": 29.323,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36509,
    "c": 0.07836,
    "h": 323.3
  },
  "luminance": 0.04499
}

Semantic roles & 50–950 ramp

primary
#522F56
secondary
#5E8759
accent
#C6626C
background
#F8F6F8
surface
#EFEBEF
border
#CAC6CA
text
#0B060B
muted
#7C7A7C

Preview Lab

Preview with #522F56

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

Preview Lab → · Contrast checker → · Palette generator →

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