#521058#521058

#521058 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.3% C 0.131 H 324.3°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#521058
RGBrgb(82, 16, 88)
HSLhsl(295, 69%, 20%)
HSVhsv(295, 82%, 35%)
CMYKcmyk(6.8%, 81.8%, 0%, 65.5%)
CIE-LABlab(19.51, 39.46, -27.47)
CIE-LCHlch(19.51, 48.08, 325.15°)
OKLaboklab(32.35% 0.1066 -0.0766)
OKLCHoklch(32.35% 0.131 324.3)
XYZxyz(5.4263, 2.8693, 9.4987)
Luminance0.0287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521058 #165810
analogous
#2E1058 #521058 #58103A
triadic
#521058 #585210 #105852
tetradic
#521058 #582E10 #165810 #103A58
square
#521058 #582E10 #165810 #103A58
split-complementary
#521058 #3A5810 #10582E
monochromatic
#18051A #220724 #521058 #82198C #B323C0

Accessibility & contrast

On white

13.34
#521058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521058
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521058#FFFFFF#000000##FFFFFF
##5210581.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5A
Deuteranopia (green-blind)
#1E3256
Tritanopia (blue-blind)
#541D33
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521058;
/* rgb */ color: rgb(82, 16, 88);
/* oklch */ color: oklch(32.3% 0.131 324.3);
Tailwind
colors: {
  custom: {
    50: '#855787',
    500: '#521058',
    950: '#000000',
  },
}
SCSS
$custom: #521058;
$custom-light: #855787;
$custom-dark: #000000;
JSON
{
  "hex": "#521058",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 295,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32347,
    "c": 0.13132,
    "h": 324.3
  },
  "luminance": 0.02869
}

Semantic roles & 50–950 ramp

primary
#521058
secondary
#3A9132
accent
#EC3C4A
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #521058

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

Preview Lab → · Contrast checker → · Palette generator →

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