#522B73#522B73

#522B73 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.6% C 0.122 H 306.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#522B73
RGBrgb(82, 43, 115)
HSLhsl(273, 46%, 31%)
HSVhsv(273, 63%, 45%)
CMYKcmyk(28.7%, 62.6%, 0%, 54.9%)
CIE-LABlab(26.04, 32.66, -34.67)
CIE-LCHlch(26.04, 47.63, 313.29°)
OKLaboklab(37.64% 0.0722 -0.0979)
OKLCHoklch(37.64% 0.122 306.4)
XYZxyz(7.4374, 4.7595, 16.7432)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522B73 #4C732B
analogous
#2E2B73 #522B73 #732B70
triadic
#522B73 #73522B #2B7352
tetradic
#522B73 #732E2B #4C732B #2B7073
square
#522B73 #732E2B #4C732B #2B7073
split-complementary
#522B73 #70732B #2B732E
monochromatic
#120A1A #321A46 #522B73 #723CA0 #9158C1

Accessibility & contrast

On white

10.76
#522B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#522B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522B73
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522B73#FFFFFF#000000##FFFFFF
##522B731.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3C75
Deuteranopia (green-blind)
#1E3E71
Tritanopia (blue-blind)
#4D394A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522b73;
/* rgb */ color: rgb(82, 43, 115);
/* oklch */ color: oklch(37.6% 0.122 306.4);
Tailwind
colors: {
  custom: {
    50: '#85669c',
    500: '#522b73',
    950: '#000000',
  },
}
SCSS
$custom: #522b73;
$custom-light: #85669c;
$custom-dark: #000000;
JSON
{
  "hex": "#522b73",
  "rgb": {
    "r": 82,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 272.5,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37637,
    "c": 0.12161,
    "h": 306.4
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#522B73
secondary
#7AA555
accent
#D5538E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522B73

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

Preview Lab → · Contrast checker → · Palette generator →

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