#521249#521249

#521249 is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.116 H 334.3°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#521249
RGBrgb(82, 18, 73)
HSLhsl(308, 64%, 20%)
HSVhsv(308, 78%, 32%)
CMYKcmyk(0%, 78%, 11%, 67.8%)
CIE-LABlab(18.83, 35.93, -18.37)
CIE-LCHlch(18.83, 40.35, 332.91°)
OKLaboklab(31.56% 0.1044 -0.0503)
OKLCHoklch(31.56% 0.116 334.3)
XYZxyz(4.8986, 2.7079, 6.5667)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521249 #12521B
analogous
#3B1252 #521249 #521229
triadic
#521249 #495212 #124952
tetradic
#521249 #523B12 #12521B #122952
square
#521249 #523B12 #12521B #122952
split-complementary
#521249 #295212 #12523B
monochromatic
#190616 #20071C #521249 #841D76 #B628A2

Accessibility & contrast

On white

13.62
#521249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#521249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521249
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521249#FFFFFF#000000##FFFFFF
##5212491.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11284B
Deuteranopia (green-blind)
#283147
Tritanopia (blue-blind)
#56172C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521249;
/* rgb */ color: rgb(82, 18, 73);
/* oklch */ color: oklch(31.6% 0.116 334.3);
Tailwind
colors: {
  custom: {
    50: '#85577c',
    500: '#521249',
    950: '#000000',
  },
}
SCSS
$custom: #521249;
$custom-light: #85577c;
$custom-dark: #000000;
JSON
{
  "hex": "#521249",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 308.438,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31558,
    "c": 0.11583,
    "h": 334.3
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#521249
secondary
#358B41
accent
#E75841
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521249

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

Preview Lab → · Contrast checker → · Palette generator →

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