#521448#521448

#521448 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.112 H 335.1°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#521448
RGBrgb(82, 20, 72)
HSLhsl(310, 61%, 20%)
HSVhsv(310, 76%, 32%)
CMYKcmyk(0%, 75.6%, 12.2%, 67.8%)
CIE-LABlab(19.07, 34.94, -17.32)
CIE-LCHlch(19.07, 39.00, 333.63°)
OKLaboklab(31.71% 0.1019 -0.0473)
OKLCHoklch(31.71% 0.112 335.1)
XYZxyz(4.8996, 2.7624, 6.4048)
Luminance0.0276 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521448 #14521E
analogous
#3D1452 #521448 #521429
triadic
#521448 #485214 #144852
tetradic
#521448 #523D14 #14521E #142952
square
#521448 #523D14 #14521E #142952
split-complementary
#521448 #295214 #14523D
monochromatic
#190616 #21081D #521448 #832073 #B42C9E

Accessibility & contrast

On white

13.53
#521448 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#521448 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521448
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521448#FFFFFF#000000##FFFFFF
##5214481.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142849
Deuteranopia (green-blind)
#293246
Tritanopia (blue-blind)
#56192C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #521448;
/* rgb */ color: rgb(82, 20, 72);
/* oklch */ color: oklch(31.7% 0.112 335.1);
Tailwind
colors: {
  custom: {
    50: '#85587b',
    500: '#521448',
    950: '#000000',
  },
}
SCSS
$custom: #521448;
$custom-light: #85587b;
$custom-dark: #000000;
JSON
{
  "hex": "#521448",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 72
  },
  "hsl": {
    "h": 309.677,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.31707,
    "c": 0.11228,
    "h": 335.1
  },
  "luminance": 0.02762
}

Semantic roles & 50–950 ramp

primary
#521448
secondary
#388A45
accent
#E45E44
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #521448

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

Preview Lab → · Contrast checker → · Palette generator →

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