#521055#521055

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

Color values

HEX#521055
RGBrgb(82, 16, 85)
HSLhsl(297, 68%, 20%)
HSVhsv(297, 81%, 33%)
CMYKcmyk(3.5%, 81.2%, 0%, 66.7%)
CIE-LABlab(19.31, 38.87, -25.78)
CIE-LCHlch(19.31, 46.64, 326.45°)
OKLaboklab(32.14% 0.1068 -0.0717)
OKLCHoklch(32.14% 0.129 326.1)
XYZxyz(5.3046, 2.8207, 8.8576)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521055 #135510
analogous
#2F1055 #521055 #551036
triadic
#521055 #555210 #105552
tetradic
#521055 #552F10 #135510 #103655
square
#521055 #552F10 #135510 #103655
split-complementary
#521055 #365510 #10552F
monochromatic
#19051A #200621 #521055 #841A89 #B523BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##521055#FFFFFF#000000##FFFFFF
##5210551.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)
#002A57
Deuteranopia (green-blind)
#203253
Tritanopia (blue-blind)
#541C32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521055;
/* rgb */ color: rgb(82, 16, 85);
/* oklch */ color: oklch(32.1% 0.129 326.1);
Tailwind
colors: {
  custom: {
    50: '#855785',
    500: '#521055',
    950: '#000000',
  },
}
SCSS
$custom: #521055;
$custom-light: #855785;
$custom-dark: #000000;
JSON
{
  "hex": "#521055",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 297.391,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.32138,
    "c": 0.12863,
    "h": 326.1
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#521055
secondary
#368F32
accent
#EB3D44
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #521055

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

Preview Lab → · Contrast checker → · Palette generator →

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