#522C72#522C72

#522C72 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.7% C 0.119 H 306.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#522C72
RGBrgb(82, 44, 114)
HSLhsl(273, 44%, 31%)
HSVhsv(273, 61%, 45%)
CMYKcmyk(28.1%, 61.4%, 0%, 55.3%)
CIE-LABlab(26.19, 31.82, -33.79)
CIE-LCHlch(26.19, 46.42, 313.28°)
OKLaboklab(37.72% 0.0708 -0.0953)
OKLCHoklch(37.72% 0.119 306.6)
XYZxyz(7.4170, 4.8102, 16.4540)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C72 #4C722C
analogous
#2F2C72 #522C72 #722C6F
triadic
#522C72 #72522C #2C7252
tetradic
#522C72 #722F2C #4C722C #2C6F72
square
#522C72 #722F2C #4C722C #2C6F72
split-complementary
#522C72 #6F722C #2C722F
monochromatic
#120A1A #321B46 #522C72 #723D9E #9159BF

Accessibility & contrast

On white

10.70
#522C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#522C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C72
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C72#FFFFFF#000000##FFFFFF
##522C721.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3D74
Deuteranopia (green-blind)
#203E70
Tritanopia (blue-blind)
#4D3A4A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #522c72;
/* rgb */ color: rgb(82, 44, 114);
/* oklch */ color: oklch(37.7% 0.119 306.6);
Tailwind
colors: {
  custom: {
    50: '#85679b',
    500: '#522c72',
    950: '#000000',
  },
}
SCSS
$custom: #522c72;
$custom-light: #85679b;
$custom-dark: #000000;
JSON
{
  "hex": "#522c72",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 272.571,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37724,
    "c": 0.11872,
    "h": 306.6
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#522C72
secondary
#7AA456
accent
#D4548E
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522C72

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

Preview Lab → · Contrast checker → · Palette generator →

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