#521149#521149

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

Color values

HEX#521149
RGBrgb(82, 17, 73)
HSLhsl(308, 66%, 19%)
HSVhsv(308, 79%, 32%)
CMYKcmyk(0%, 79.3%, 11%, 67.8%)
CIE-LABlab(18.70, 36.31, -18.59)
CIE-LCHlch(18.70, 40.79, 332.89°)
OKLaboklab(31.46% 0.1055 -0.0509)
OKLCHoklch(31.46% 0.117 334.3)
XYZxyz(4.8828, 2.6762, 6.5614)
Luminance0.0268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521149 #11521A
analogous
#3B1152 #521149 #521129
triadic
#521149 #495211 #114952
tetradic
#521149 #523B11 #11521A #112952
square
#521149 #523B11 #11521A #112952
split-complementary
#521149 #295211 #11523B
monochromatic
#190517 #1F061C #521149 #851C76 #B726A3

Accessibility & contrast

On white

13.68
#521149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521149
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521149#FFFFFF#000000##FFFFFF
##5211491.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10274B
Deuteranopia (green-blind)
#273147
Tritanopia (blue-blind)
#56172B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #521149;
/* rgb */ color: rgb(82, 17, 73);
/* oklch */ color: oklch(31.5% 0.117 334.3);
Tailwind
colors: {
  custom: {
    50: '#85577c',
    500: '#521149',
    950: '#000000',
  },
}
SCSS
$custom: #521149;
$custom-light: #85577c;
$custom-dark: #000000;
JSON
{
  "hex": "#521149",
  "rgb": {
    "r": 82,
    "g": 17,
    "b": 73
  },
  "hsl": {
    "h": 308.308,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31459,
    "c": 0.11712,
    "h": 334.3
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#521149
secondary
#348B40
accent
#E9573F
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #521149

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

Preview Lab → · Contrast checker → · Palette generator →

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