#522F60#522F60

#522F60 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.1% C 0.091 H 315.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#522F60
RGBrgb(82, 47, 96)
HSLhsl(283, 34%, 28%)
HSVhsv(283, 51%, 38%)
CMYKcmyk(14.6%, 51%, 0%, 62.4%)
CIE-LABlab(25.78, 25.51, -22.83)
CIE-LCHlch(25.78, 34.23, 318.17°)
OKLaboklab(37.07% 0.0648 -0.0634)
OKLCHoklch(37.07% 0.091 315.6)
XYZxyz(6.6072, 4.6716, 11.6177)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F60 #3D602F
analogous
#392F60 #522F60 #602F55
triadic
#522F60 #60522F #2F6052
tetradic
#522F60 #60392F #3D602F #2F5560
square
#522F60 #60392F #3D602F #2F5560
split-complementary
#522F60 #55602F #2F6039
monochromatic
#120A15 #2F1B37 #522F60 #754389 #975BAF

Accessibility & contrast

On white

10.86
#522F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#522F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F60
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F60#FFFFFF#000000##FFFFFF
##522F601.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253B62
Deuteranopia (green-blind)
#2F3E5F
Tritanopia (blue-blind)
#513643
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522f60;
/* rgb */ color: rgb(82, 47, 96);
/* oklch */ color: oklch(37.1% 0.091 315.6);
Tailwind
colors: {
  custom: {
    50: '#84698d',
    500: '#522f60',
    950: '#000000',
  },
}
SCSS
$custom: #522f60;
$custom-light: #84698d;
$custom-dark: #000000;
JSON
{
  "hex": "#522f60",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 282.857,
    "s": 34.266,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.09063,
    "h": 315.6
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#522F60
secondary
#699259
accent
#CA5D7D
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #522F60

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

Preview Lab → · Contrast checker → · Palette generator →

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