#523252#523252

#523252 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 36.9% C 0.068 H 326.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#523252
RGBrgb(82, 50, 82)
HSLhsl(300, 24%, 26%)
HSVhsv(300, 39%, 32%)
CMYKcmyk(0%, 39%, 0%, 67.8%)
CIE-LABlab(25.82, 20.41, -13.59)
CIE-LCHlch(25.82, 24.52, 326.35°)
OKLaboklab(36.87% 0.0565 -0.0369)
OKLCHoklch(36.87% 0.068 326.8)
XYZxyz(6.1431, 4.6845, 8.5616)
Luminance0.0468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#523252 #325232
analogous
#423252 #523252 #523242
triadic
#523252 #525232 #325252
tetradic
#523252 #524232 #325232 #324252
square
#523252 #524232 #325232 #324252
split-complementary
#523252 #425232 #325242
monochromatic
#130C13 #2C1B2C #523252 #784978 #9E609E

Accessibility & contrast

On white

10.84
#523252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#523252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #523252
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##523252#FFFFFF#000000##FFFFFF
##5232521.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#383F51
Tritanopia (blue-blind)
#54353E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #523252;
/* rgb */ color: rgb(82, 50, 82);
/* oklch */ color: oklch(36.9% 0.068 326.8);
Tailwind
colors: {
  custom: {
    50: '#836a82',
    500: '#523252',
    950: '#000000',
  },
}
SCSS
$custom: #523252;
$custom-light: #836a82;
$custom-dark: #000000;
JSON
{
  "hex": "#523252",
  "rgb": {
    "r": 82,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 300,
    "s": 24.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.36867,
    "c": 0.06753,
    "h": 326.8
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#523252
secondary
#5D835D
accent
#C16767
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B060A
muted
#7C7A7C

Preview Lab

Preview with #523252

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

Preview Lab → · Contrast checker → · Palette generator →

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