#522D73#522D73

#522D73 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 38.0% C 0.118 H 305.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#522D73
RGBrgb(82, 45, 115)
HSLhsl(272, 44%, 31%)
HSVhsv(272, 61%, 45%)
CMYKcmyk(28.7%, 60.9%, 0%, 54.9%)
CIE-LABlab(26.47, 31.50, -33.97)
CIE-LCHlch(26.47, 46.33, 312.84°)
OKLaboklab(37.95% 0.0694 -0.0958)
OKLCHoklch(37.95% 0.118 305.9)
XYZxyz(7.5119, 4.9085, 16.7680)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522D73 #4E732D
analogous
#2F2D73 #522D73 #732D71
triadic
#522D73 #73522D #2D7352
tetradic
#522D73 #732F2D #4E732D #2D7173
square
#522D73 #732F2D #4E732D #2D7173
split-complementary
#522D73 #71732D #2D732F
monochromatic
#130B1B #331C47 #522D73 #713E9F #905BBF

Accessibility & contrast

On white

10.60
#522D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#522D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522D73
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522D73#FFFFFF#000000##FFFFFF
##522D731.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103D75
Deuteranopia (green-blind)
#203F71
Tritanopia (blue-blind)
#4D3B4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522d73;
/* rgb */ color: rgb(82, 45, 115);
/* oklch */ color: oklch(38.0% 0.118 305.9);
Tailwind
colors: {
  custom: {
    50: '#85689c',
    500: '#522d73',
    950: '#000000',
  },
}
SCSS
$custom: #522d73;
$custom-light: #85689c;
$custom-dark: #000000;
JSON
{
  "hex": "#522d73",
  "rgb": {
    "r": 82,
    "g": 45,
    "b": 115
  },
  "hsl": {
    "h": 271.714,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37954,
    "c": 0.11833,
    "h": 305.9
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#522D73
secondary
#7CA457
accent
#D35490
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522D73

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

Preview Lab → · Contrast checker → · Palette generator →

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