#521153#521153

#521153 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.126 H 327.4°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#521153
RGBrgb(82, 17, 83)
HSLhsl(299, 66%, 20%)
HSVhsv(299, 80%, 33%)
CMYKcmyk(1.2%, 79.5%, 0%, 67.5%)
CIE-LABlab(19.31, 38.13, -24.44)
CIE-LCHlch(19.31, 45.29, 327.35°)
OKLaboklab(32.09% 0.1059 -0.0678)
OKLCHoklch(32.09% 0.126 327.4)
XYZxyz(5.2414, 2.8196, 8.4501)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521153 #125311
analogous
#311153 #521153 #531133
triadic
#521153 #535211 #115352
tetradic
#521153 #533111 #125311 #113353
square
#521153 #533111 #125311 #113353
split-complementary
#521153 #335311 #115331
monochromatic
#190519 #200720 #521153 #841B86 #B626B9

Accessibility & contrast

On white

13.43
#521153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#521153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521153
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521153#FFFFFF#000000##FFFFFF
##5211531.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032955
Deuteranopia (green-blind)
#223251
Tritanopia (blue-blind)
#551C31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521153;
/* rgb */ color: rgb(82, 17, 83);
/* oklch */ color: oklch(32.1% 0.126 327.4);
Tailwind
colors: {
  custom: {
    50: '#855784',
    500: '#521153',
    950: '#000000',
  },
}
SCSS
$custom: #521153;
$custom-light: #855784;
$custom-dark: #000000;
JSON
{
  "hex": "#521153",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 299.091,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32093,
    "c": 0.12569,
    "h": 327.4
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#521153
secondary
#358C34
accent
#E93F41
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #521153

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

Preview Lab → · Contrast checker → · Palette generator →

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