#524052#524052

#524052 is a dark, muted purple. Relative luminance 0.061; OKLCH L 39.7% C 0.038 H 326.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#524052
RGBrgb(82, 64, 82)
HSLhsl(300, 12%, 29%)
HSVhsv(300, 22%, 32%)
CMYKcmyk(0%, 22%, 0%, 67.8%)
CIE-LABlab(29.59, 11.43, -7.85)
CIE-LCHlch(29.59, 13.86, 325.54°)
OKLaboklab(39.74% 0.0315 -0.0211)
OKLCHoklch(39.74% 0.038 326.3)
XYZxyz(6.8359, 6.0700, 8.7925)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#524052 #405240
analogous
#494052 #524052 #524049
triadic
#524052 #525240 #405252
tetradic
#524052 #524940 #405240 #404952
square
#524052 #524940 #405240 #404952
split-complementary
#524052 #495240 #405249
monochromatic
#110D11 #302530 #524052 #745B74 #957795

Accessibility & contrast

On white

9.49
#524052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#524052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #524052
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##524052#FFFFFF#000000##FFFFFF
##5240521.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4453
Deuteranopia (green-blind)
#434651
Tritanopia (blue-blind)
#534146
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #524052;
/* rgb */ color: rgb(82, 64, 82);
/* oklch */ color: oklch(39.7% 0.038 326.3);
Tailwind
colors: {
  custom: {
    50: '#827582',
    500: '#524052',
    950: '#000000',
  },
}
SCSS
$custom: #524052;
$custom-light: #827582;
$custom-dark: #000000;
JSON
{
  "hex": "#524052",
  "rgb": {
    "r": 82,
    "g": 64,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 12.329,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39743,
    "c": 0.03792,
    "h": 326.3
  },
  "luminance": 0.0607
}

Semantic roles & 50–950 ramp

primary
#524052
secondary
#6D816D
accent
#B57373
background
#F8F7F7
surface
#EFEDEE
border
#CAC8C9
text
#0A080A
muted
#7C7B7C

Preview Lab

Preview with #524052

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

Preview Lab → · Contrast checker → · Palette generator →

#524052 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva