#522A73#522A73

#522A73 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.123 H 306.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#522A73
RGBrgb(82, 42, 115)
HSLhsl(273, 46%, 31%)
HSVhsv(273, 63%, 45%)
CMYKcmyk(28.7%, 63.5%, 0%, 54.9%)
CIE-LABlab(25.83, 33.23, -35.01)
CIE-LCHlch(25.83, 48.27, 313.51°)
OKLaboklab(37.48% 0.0735 -0.0989)
OKLCHoklch(37.48% 0.123 306.6)
XYZxyz(7.4015, 4.6876, 16.7312)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522A73 #4B732A
analogous
#2D2A73 #522A73 #732A6F
triadic
#522A73 #73522A #2A7352
tetradic
#522A73 #732D2A #4B732A #2A6F73
square
#522A73 #732D2A #4B732A #2A6F73
split-complementary
#522A73 #6F732A #2A732D
monochromatic
#120919 #321A46 #522A73 #723AA0 #9156C1

Accessibility & contrast

On white

10.84
#522A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#522A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522A73
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522A73#FFFFFF#000000##FFFFFF
##522A731.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C75
Deuteranopia (green-blind)
#1C3D71
Tritanopia (blue-blind)
#4D394A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #522a73;
/* rgb */ color: rgb(82, 42, 115);
/* oklch */ color: oklch(37.5% 0.123 306.6);
Tailwind
colors: {
  custom: {
    50: '#85669c',
    500: '#522a73',
    950: '#000000',
  },
}
SCSS
$custom: #522a73;
$custom-light: #85669c;
$custom-dark: #000000;
JSON
{
  "hex": "#522a73",
  "rgb": {
    "r": 82,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 272.877,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.12322,
    "h": 306.6
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#522A73
secondary
#79A554
accent
#D6528E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522A73

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

Preview Lab → · Contrast checker → · Palette generator →

#522A73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva