#521473#521473

#521473 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.153 H 310.2°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#521473
RGBrgb(82, 20, 115)
HSLhsl(279, 70%, 26%)
HSVhsv(279, 83%, 45%)
CMYKcmyk(28.7%, 82.6%, 0%, 54.9%)
CIE-LABlab(22.06, 43.76, -41.09)
CIE-LCHlch(22.06, 60.03, 316.80°)
OKLaboklab(34.79% 0.0985 -0.1166)
OKLCHoklch(34.79% 0.153 310.2)
XYZxyz(6.8237, 3.5321, 16.5386)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521473 #357314
analogous
#231473 #521473 #731465
triadic
#521473 #735214 #147352
tetradic
#521473 #732314 #357314 #146573
square
#521473 #732314 #357314 #146573
split-complementary
#521473 #657314 #147323
monochromatic
#13051A #2D0B3F #521473 #771DA7 #9C28DA

Accessibility & contrast

On white

12.31
#521473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#521473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521473
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521473#FFFFFF#000000##FFFFFF
##5214731.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#4D2C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #521473;
/* rgb */ color: rgb(82, 20, 115);
/* oklch */ color: oklch(34.8% 0.153 310.2);
Tailwind
colors: {
  custom: {
    50: '#875a9c',
    500: '#521473',
    950: '#000000',
  },
}
SCSS
$custom: #521473;
$custom-light: #875a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#521473",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 279.158,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34792,
    "c": 0.15261,
    "h": 310.2
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#521473
secondary
#60A93A
accent
#ED3B79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #521473

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

Preview Lab → · Contrast checker → · Palette generator →

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