#522C7A#522C7A

#522C7A is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.129 H 303.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#522C7A
RGBrgb(82, 44, 122)
HSLhsl(269, 47%, 33%)
HSVhsv(269, 64%, 48%)
CMYKcmyk(32.8%, 63.9%, 0%, 52.2%)
CIE-LABlab(26.74, 33.93, -38.00)
CIE-LCHlch(26.74, 50.94, 311.76°)
OKLaboklab(38.3% 0.0706 -0.1076)
OKLCHoklch(38.3% 0.129 303.3)
XYZxyz(7.8924, 5.0004, 18.9580)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C7A #547A2C
analogous
#2C2D7A #522C7A #792C7A
triadic
#522C7A #7A522C #2C7A52
tetradic
#522C7A #7A2C2D #547A2C #2C7A79
square
#522C7A #7A2C2D #547A2C #2C7A79
split-complementary
#522C7A #7A792C #2D7A2C
monochromatic
#160C20 #341C4D #522C7A #703CA7 #8F5CC4

Accessibility & contrast

On white

10.50
#522C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#522C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C7A
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C7A#FFFFFF#000000##FFFFFF
##522C7A1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#173F78
Tritanopia (blue-blind)
#4A3C4E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522c7a;
/* rgb */ color: rgb(82, 44, 122);
/* oklch */ color: oklch(38.3% 0.129 303.3);
Tailwind
colors: {
  custom: {
    50: '#8667a1',
    500: '#522c7a',
    950: '#000000',
  },
}
SCSS
$custom: #522c7a;
$custom-light: #8667a1;
$custom-dark: #000000;
JSON
{
  "hex": "#522c7a",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 269.231,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.383,
    "c": 0.12875,
    "h": 303.3
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#522C7A
secondary
#82AA57
accent
#D75196
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #522C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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