#521849#521849

#521849 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.107 H 334.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#521849
RGBrgb(82, 24, 73)
HSLhsl(309, 55%, 21%)
HSVhsv(309, 71%, 32%)
CMYKcmyk(0%, 70.7%, 11%, 67.8%)
CIE-LABlab(19.76, 33.34, -16.93)
CIE-LCHlch(19.76, 37.39, 333.08°)
OKLaboklab(32.23% 0.0968 -0.0462)
OKLCHoklch(32.23% 0.107 334.5)
XYZxyz(5.0089, 2.9286, 6.6035)
Luminance0.0293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521849 #185221
analogous
#3E1852 #521849 #52182C
triadic
#521849 #495218 #184952
tetradic
#521849 #523E18 #185221 #182C52
square
#521849 #523E18 #185221 #182C52
split-complementary
#521849 #2C5218 #18523E
monochromatic
#180715 #230A1F #521849 #812673 #B1349D

Accessibility & contrast

On white

13.24
#521849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#521849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521849
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521849#FFFFFF#000000##FFFFFF
##5218491.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A4A
Deuteranopia (green-blind)
#2B3348
Tritanopia (blue-blind)
#561C2E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #521849;
/* rgb */ color: rgb(82, 24, 73);
/* oklch */ color: oklch(32.2% 0.107 334.5);
Tailwind
colors: {
  custom: {
    50: '#855a7c',
    500: '#521849',
    950: '#000000',
  },
}
SCSS
$custom: #521849;
$custom-light: #855a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#521849",
  "rgb": {
    "r": 82,
    "g": 24,
    "b": 73
  },
  "hsl": {
    "h": 309.31,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32225,
    "c": 0.10721,
    "h": 334.5
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#521849
secondary
#3D8949
accent
#DE614A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521849

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

Preview Lab → · Contrast checker → · Palette generator →

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