#521653#521653

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

Color values

HEX#521653
RGBrgb(82, 22, 83)
HSLhsl(299, 58%, 21%)
HSVhsv(299, 73%, 33%)
CMYKcmyk(1.2%, 73.5%, 0%, 67.5%)
CIE-LABlab(20.01, 36.12, -23.31)
CIE-LCHlch(20.01, 42.99, 327.16°)
OKLaboklab(32.6% 0.1002 -0.0646)
OKLCHoklch(32.6% 0.119 327.2)
XYZxyz(5.3278, 2.9926, 8.4789)
Luminance0.0299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521653 #175316
analogous
#331653 #521653 #531635
triadic
#521653 #535216 #165352
tetradic
#521653 #533316 #175316 #163553
square
#521653 #533316 #175316 #163553
split-complementary
#521653 #355316 #165333
monochromatic
#180618 #220923 #521653 #822383 #B230B4

Accessibility & contrast

On white

13.14
#521653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#521653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521653
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521653#FFFFFF#000000##FFFFFF
##5216531.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B55
Deuteranopia (green-blind)
#253351
Tritanopia (blue-blind)
#551F32
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521653;
/* rgb */ color: rgb(82, 22, 83);
/* oklch */ color: oklch(32.6% 0.119 327.2);
Tailwind
colors: {
  custom: {
    50: '#855983',
    500: '#521653',
    950: '#000000',
  },
}
SCSS
$custom: #521653;
$custom-light: #855983;
$custom-dark: #000000;
JSON
{
  "hex": "#521653",
  "rgb": {
    "r": 82,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 299.016,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32601,
    "c": 0.1192,
    "h": 327.2
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#521653
secondary
#3C8A3A
accent
#E14649
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #521653

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

Preview Lab → · Contrast checker → · Palette generator →

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