#522253#522253

#522253 is a dark, moderate purple. Relative luminance 0.036; OKLCH L 34.2% C 0.100 H 326.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#522253
RGBrgb(82, 34, 83)
HSLhsl(299, 42%, 23%)
HSVhsv(299, 59%, 33%)
CMYKcmyk(1.2%, 59%, 0%, 67.5%)
CIE-LABlab(22.17, 30.18, -19.91)
CIE-LCHlch(22.17, 36.16, 326.58°)
OKLaboklab(34.17% 0.0835 -0.0548)
OKLCHoklch(34.17% 0.1 326.7)
XYZxyz(5.6129, 3.5627, 8.5740)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522253 #235322
analogous
#392253 #522253 #53223B
triadic
#522253 #535222 #225352
tetradic
#522253 #533922 #235322 #223B53
square
#522253 #533922 #235322 #223B53
split-complementary
#522253 #3B5322 #225339
monochromatic
#150916 #271028 #522253 #7D347E #A846AA

Accessibility & contrast

On white

12.26
#522253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#522253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522253
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522253#FFFFFF#000000##FFFFFF
##5222531.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3155
Deuteranopia (green-blind)
#2C3752
Tritanopia (blue-blind)
#542837
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #522253;
/* rgb */ color: rgb(82, 34, 83);
/* oklch */ color: oklch(34.2% 0.100 326.7);
Tailwind
colors: {
  custom: {
    50: '#846083',
    500: '#522253',
    950: '#000000',
  },
}
SCSS
$custom: #522253;
$custom-light: #846083;
$custom-dark: #000000;
JSON
{
  "hex": "#522253",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 298.776,
    "s": 41.88,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34168,
    "c": 0.09991,
    "h": 326.7
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#522253
secondary
#4B874A
accent
#D25659
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B050A
muted
#7C797C

Preview Lab

Preview with #522253

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

Preview Lab → · Contrast checker → · Palette generator →

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