#521253#521253

#521253 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.2% C 0.124 H 327.3°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#521253
RGBrgb(82, 18, 83)
HSLhsl(299, 64%, 20%)
HSVhsv(299, 78%, 33%)
CMYKcmyk(1.2%, 78.3%, 0%, 67.5%)
CIE-LABlab(19.44, 37.75, -24.23)
CIE-LCHlch(19.44, 44.86, 327.31°)
OKLaboklab(32.19% 0.1048 -0.0672)
OKLCHoklch(32.19% 0.124 327.3)
XYZxyz(5.2572, 2.8514, 8.4554)
Luminance0.0285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521253 #135312
analogous
#321253 #521253 #531234
triadic
#521253 #535212 #125352
tetradic
#521253 #533212 #135312 #123453
square
#521253 #533212 #135312 #123453
split-complementary
#521253 #345312 #125332
monochromatic
#190519 #200721 #521253 #841D85 #B528B8

Accessibility & contrast

On white

13.37
#521253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#521253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521253
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521253#FFFFFF#000000##FFFFFF
##5212531.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052A55
Deuteranopia (green-blind)
#233251
Tritanopia (blue-blind)
#551C31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521253;
/* rgb */ color: rgb(82, 18, 83);
/* oklch */ color: oklch(32.2% 0.124 327.3);
Tailwind
colors: {
  custom: {
    50: '#855884',
    500: '#521253',
    950: '#000000',
  },
}
SCSS
$custom: #521253;
$custom-light: #855884;
$custom-dark: #000000;
JSON
{
  "hex": "#521253",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 299.077,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32188,
    "c": 0.12448,
    "h": 327.3
  },
  "luminance": 0.02851
}

Semantic roles & 50–950 ramp

primary
#521253
secondary
#368C35
accent
#E74043
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521253

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

Preview Lab → · Contrast checker → · Palette generator →

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