#522E61#522E61

#522E61 is a dark, moderate purple. Relative luminance 0.046; OKLCH L 37.0% C 0.094 H 315.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#522E61
RGBrgb(82, 46, 97)
HSLhsl(282, 36%, 28%)
HSVhsv(282, 53%, 38%)
CMYKcmyk(15.5%, 52.6%, 0%, 62%)
CIE-LABlab(25.60, 26.36, -23.77)
CIE-LCHlch(25.60, 35.49, 317.96°)
OKLaboklab(36.95% 0.0666 -0.0661)
OKLCHoklch(36.95% 0.094 315.2)
XYZxyz(6.6140, 4.6111, 11.8486)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E61 #3D612E
analogous
#382E61 #522E61 #612E56
triadic
#522E61 #61522E #2E6152
tetradic
#522E61 #61382E #3D612E #2E5661
square
#522E61 #61382E #3D612E #2E5661
split-complementary
#522E61 #56612E #2E6138
monochromatic
#120A15 #2F1A37 #522E61 #75428B #9759B0

Accessibility & contrast

On white

10.92
#522E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522E61
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E61#FFFFFF#000000##FFFFFF
##522E611.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A63
Deuteranopia (green-blind)
#2E3E60
Tritanopia (blue-blind)
#513643
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522e61;
/* rgb */ color: rgb(82, 46, 97);
/* oklch */ color: oklch(37.0% 0.094 315.2);
Tailwind
colors: {
  custom: {
    50: '#84688e',
    500: '#522e61',
    950: '#000000',
  },
}
SCSS
$custom: #522e61;
$custom-light: #84688e;
$custom-dark: #000000;
JSON
{
  "hex": "#522e61",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 282.353,
    "s": 35.664,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36952,
    "c": 0.09378,
    "h": 315.2
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#522E61
secondary
#699358
accent
#CC5C7D
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #522E61

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

Preview Lab → · Contrast checker → · Palette generator →

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