#521049#521049

#521049 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.4% C 0.118 H 334.2°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#521049
RGBrgb(82, 16, 73)
HSLhsl(308, 67%, 19%)
HSVhsv(308, 80%, 32%)
CMYKcmyk(0%, 80.5%, 11%, 67.8%)
CIE-LABlab(18.57, 36.69, -18.79)
CIE-LCHlch(18.57, 41.22, 332.87°)
OKLaboklab(31.36% 0.1066 -0.0515)
OKLCHoklch(31.36% 0.118 334.2)
XYZxyz(4.8676, 2.6459, 6.5564)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521049 #105219
analogous
#3A1052 #521049 #521028
triadic
#521049 #495210 #104952
tetradic
#521049 #523A10 #105219 #102852
square
#521049 #523A10 #105219 #102852
split-complementary
#521049 #285210 #10523A
monochromatic
#1A0517 #1F061B #521049 #851A77 #B824A4

Accessibility & contrast

On white

13.73
#521049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#521049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521049
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521049#FFFFFF#000000##FFFFFF
##5210491.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F274B
Deuteranopia (green-blind)
#273147
Tritanopia (blue-blind)
#56162B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521049;
/* rgb */ color: rgb(82, 16, 73);
/* oklch */ color: oklch(31.4% 0.118 334.2);
Tailwind
colors: {
  custom: {
    50: '#85567c',
    500: '#521049',
    950: '#000000',
  },
}
SCSS
$custom: #521049;
$custom-light: #85567c;
$custom-dark: #000000;
JSON
{
  "hex": "#521049",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 308.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31364,
    "c": 0.11837,
    "h": 334.2
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#521049
secondary
#328C3E
accent
#EA553E
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521049

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

Preview Lab → · Contrast checker → · Palette generator →

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