#522C8F#522C8F

#522C8F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.155 H 296.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#522C8F
RGBrgb(82, 44, 143)
HSLhsl(263, 53%, 37%)
HSVhsv(263, 69%, 56%)
CMYKcmyk(42.7%, 69.2%, 0%, 43.9%)
CIE-LABlab(28.32, 39.66, -48.56)
CIE-LCHlch(28.32, 62.70, 309.24°)
OKLaboklab(39.95% 0.0685 -0.1387)
OKLCHoklch(39.95% 0.155 296.3)
XYZxyz(9.3370, 5.5782, 26.5660)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C8F #698F2C
analogous
#2C388F #522C8F #842C8F
triadic
#522C8F #8F522C #2C8F52
tetradic
#522C8F #8F2C38 #698F2C #2C8F84
square
#522C8F #8F2C38 #698F2C #2C8F84
split-complementary
#522C8F #8F842C #388F2C
monochromatic
#1C0F31 #371E60 #522C8F #6D3ABE #8E66D0

Accessibility & contrast

On white

9.93
#522C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#522C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C8F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C8F#FFFFFF#000000##FFFFFF
##522C8F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#42445A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #522c8f;
/* rgb */ color: rgb(82, 44, 143);
/* oklch */ color: oklch(39.9% 0.155 296.3);
Tailwind
colors: {
  custom: {
    50: '#8868b1',
    500: '#522c8f',
    950: '#000000',
  },
}
SCSS
$custom: #522c8f;
$custom-light: #8868b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522c8f",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 263.03,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39946,
    "c": 0.15468,
    "h": 296.3
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#522C8F
secondary
#95B661
accent
#DC4BA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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