#522F63#522F63

#522F63 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 37.2% C 0.094 H 313.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#522F63
RGBrgb(82, 47, 99)
HSLhsl(280, 36%, 29%)
HSVhsv(280, 53%, 39%)
CMYKcmyk(17.2%, 52.5%, 0%, 61.2%)
CIE-LABlab(25.95, 26.24, -24.52)
CIE-LCHlch(25.95, 35.91, 316.94°)
OKLaboklab(37.25% 0.0652 -0.0683)
OKLCHoklch(37.25% 0.094 313.7)
XYZxyz(6.7479, 4.7279, 12.3591)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F63 #40632F
analogous
#382F63 #522F63 #632F5A
triadic
#522F63 #63522F #2F6352
tetradic
#522F63 #63382F #40632F #2F5A63
square
#522F63 #63382F #40632F #2F5A63
split-complementary
#522F63 #5A632F #2F6338
monochromatic
#110A15 #301B39 #522F63 #74438C #955BB1

Accessibility & contrast

On white

10.79
#522F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#522F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F63
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F63#FFFFFF#000000##FFFFFF
##522F631.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B65
Deuteranopia (green-blind)
#2E3E62
Tritanopia (blue-blind)
#513744
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522f63;
/* rgb */ color: rgb(82, 47, 99);
/* oklch */ color: oklch(37.2% 0.094 313.7);
Tailwind
colors: {
  custom: {
    50: '#84698f',
    500: '#522f63',
    950: '#000000',
  },
}
SCSS
$custom: #522f63;
$custom-light: #84698f;
$custom-dark: #000000;
JSON
{
  "hex": "#522f63",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 280.385,
    "s": 35.616,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37247,
    "c": 0.09442,
    "h": 313.7
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#522F63
secondary
#6D9559
accent
#CC5C81
background
#F8F6F8
surface
#EFEBF0
border
#CAC6CB
text
#0B060C
muted
#7C7A7D

Preview Lab

Preview with #522F63

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

Preview Lab → · Contrast checker → · Palette generator →

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