#521753#521753

#521753 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.7% C 0.118 H 327.2°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#521753
RGBrgb(82, 23, 83)
HSLhsl(299, 57%, 21%)
HSVhsv(299, 72%, 33%)
CMYKcmyk(1.2%, 72.3%, 0%, 67.5%)
CIE-LABlab(20.17, 35.68, -23.07)
CIE-LCHlch(20.17, 42.49, 327.12°)
OKLaboklab(32.71% 0.099 -0.0639)
OKLCHoklch(32.71% 0.118 327.2)
XYZxyz(5.3473, 3.0315, 8.4854)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521753 #185317
analogous
#341753 #521753 #531736
triadic
#521753 #535217 #175352
tetradic
#521753 #533417 #185317 #173653
square
#521753 #533417 #185317 #173653
split-complementary
#521753 #365317 #175334
monochromatic
#180718 #230A23 #521753 #812483 #B132B3

Accessibility & contrast

On white

13.07
#521753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#521753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521753
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521753#FFFFFF#000000##FFFFFF
##5217531.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2C55
Deuteranopia (green-blind)
#253351
Tritanopia (blue-blind)
#552033
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #521753;
/* rgb */ color: rgb(82, 23, 83);
/* oklch */ color: oklch(32.7% 0.118 327.2);
Tailwind
colors: {
  custom: {
    50: '#855a83',
    500: '#521753',
    950: '#000000',
  },
}
SCSS
$custom: #521753;
$custom-light: #855a83;
$custom-dark: #000000;
JSON
{
  "hex": "#521753",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 299,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32713,
    "c": 0.11778,
    "h": 327.2
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#521753
secondary
#3D8A3C
accent
#E0484A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521753

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

Preview Lab → · Contrast checker → · Palette generator →

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