#522C7C#522C7C

#522C7C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.131 H 302.5°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#522C7C
RGBrgb(82, 44, 124)
HSLhsl(269, 48%, 33%)
HSVhsv(269, 65%, 49%)
CMYKcmyk(33.9%, 64.5%, 0%, 51.4%)
CIE-LABlab(26.88, 34.46, -39.03)
CIE-LCHlch(26.88, 52.07, 311.44°)
OKLaboklab(38.45% 0.0705 -0.1107)
OKLCHoklch(38.45% 0.131 302.5)
XYZxyz(8.0176, 5.0504, 19.6173)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C7C #567C2C
analogous
#2C2E7C #522C7C #7A2C7C
triadic
#522C7C #7C522C #2C7C52
tetradic
#522C7C #7C2C2E #567C2C #2C7C7A
square
#522C7C #7C2C2E #567C2C #2C7C7A
split-complementary
#522C7C #7C7A2C #2E7C2C
monochromatic
#160C22 #341C4F #522C7C #703CA9 #8F5DC5

Accessibility & contrast

On white

10.45
#522C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#522C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C7C
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C7C#FFFFFF#000000##FFFFFF
##522C7C1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#133F7A
Tritanopia (blue-blind)
#4A3D4F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #522c7c;
/* rgb */ color: rgb(82, 44, 124);
/* oklch */ color: oklch(38.4% 0.131 302.5);
Tailwind
colors: {
  custom: {
    50: '#8667a2',
    500: '#522c7c',
    950: '#000000',
  },
}
SCSS
$custom: #522c7c;
$custom-light: #8667a2;
$custom-dark: #000000;
JSON
{
  "hex": "#522c7c",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 268.5,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38448,
    "c": 0.13125,
    "h": 302.5
  },
  "luminance": 0.0505
}

Semantic roles & 50–950 ramp

primary
#522C7C
secondary
#84AC58
accent
#D75197
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #522C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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