#521749#521749

#521749 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.109 H 334.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#521749
RGBrgb(82, 23, 73)
HSLhsl(309, 56%, 21%)
HSVhsv(309, 72%, 32%)
CMYKcmyk(0%, 72%, 11%, 67.8%)
CIE-LABlab(19.59, 33.80, -17.19)
CIE-LCHlch(19.59, 37.92, 333.04°)
OKLaboklab(32.1% 0.0981 -0.0469)
OKLCHoklch(32.1% 0.109 334.4)
XYZxyz(4.9887, 2.8881, 6.5967)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521749 #175220
analogous
#3D1752 #521749 #52172B
triadic
#521749 #495217 #174952
tetradic
#521749 #523D17 #175220 #172B52
square
#521749 #523D17 #175220 #172B52
split-complementary
#521749 #2B5217 #17523D
monochromatic
#180715 #220A1E #521749 #822474 #B2329E

Accessibility & contrast

On white

13.31
#521749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#521749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521749
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521749#FFFFFF#000000##FFFFFF
##5217491.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162A4A
Deuteranopia (green-blind)
#2A3348
Tritanopia (blue-blind)
#561B2D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #521749;
/* rgb */ color: rgb(82, 23, 73);
/* oklch */ color: oklch(32.1% 0.109 334.4);
Tailwind
colors: {
  custom: {
    50: '#85597c',
    500: '#521749',
    950: '#000000',
  },
}
SCSS
$custom: #521749;
$custom-light: #85597c;
$custom-dark: #000000;
JSON
{
  "hex": "#521749",
  "rgb": {
    "r": 82,
    "g": 23,
    "b": 73
  },
  "hsl": {
    "h": 309.153,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.32105,
    "c": 0.10875,
    "h": 334.4
  },
  "luminance": 0.02888
}

Semantic roles & 50–950 ramp

primary
#521749
secondary
#3C8948
accent
#DF5F48
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521749

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

Preview Lab → · Contrast checker → · Palette generator →

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