#521379#521379

#521379 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.159 H 307.8°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#521379
RGBrgb(82, 19, 121)
HSLhsl(277, 73%, 27%)
HSVhsv(277, 84%, 47%)
CMYKcmyk(32.2%, 84.3%, 0%, 52.5%)
CIE-LABlab(22.44, 45.49, -44.31)
CIE-LCHlch(22.44, 63.50, 315.75°)
OKLaboklab(35.22% 0.0977 -0.126)
OKLCHoklch(35.22% 0.159 307.8)
XYZxyz(7.1630, 3.6402, 18.4107)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521379 #3A7913
analogous
#1F1379 #521379 #79136D
triadic
#521379 #795213 #137952
tetradic
#521379 #791F13 #3A7913 #136D79
square
#521379 #791F13 #3A7913 #136D79
split-complementary
#521379 #6D7913 #13791F
monochromatic
#12041A #2E0B44 #521379 #761BAE #9829DD

Accessibility & contrast

On white

12.15
#521379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#521379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521379
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521379#FFFFFF#000000##FFFFFF
##5213791.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#4B2E47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #521379;
/* rgb */ color: rgb(82, 19, 121);
/* oklch */ color: oklch(35.2% 0.159 307.8);
Tailwind
colors: {
  custom: {
    50: '#875aa0',
    500: '#521379',
    950: '#000000',
  },
}
SCSS
$custom: #521379;
$custom-light: #875aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#521379",
  "rgb": {
    "r": 82,
    "g": 19,
    "b": 121
  },
  "hsl": {
    "h": 277.059,
    "s": 72.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35219,
    "c": 0.15947,
    "h": 307.8
  },
  "luminance": 0.0364
}

Semantic roles & 50–950 ramp

primary
#521379
secondary
#66AF39
accent
#F0387E
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #521379

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

Preview Lab → · Contrast checker → · Palette generator →

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