#522CA3#522CA3

#522CA3 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.179 H 291.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#522CA3
RGBrgb(82, 44, 163)
HSLhsl(259, 57%, 41%)
HSVhsv(259, 73%, 64%)
CMYKcmyk(49.7%, 73%, 0%, 36.1%)
CIE-LABlab(30.01, 45.27, -58.03)
CIE-LCHlch(30.01, 73.60, 307.96°)
OKLaboklab(41.67% 0.0647 -0.1665)
OKLCHoklch(41.67% 0.179 291.2)
XYZxyz(10.9893, 6.2391, 35.2685)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522CA3 #7DA32C
analogous
#2C41A3 #522CA3 #8D2CA3
triadic
#522CA3 #A3522C #2CA352
tetradic
#522CA3 #A32C41 #7DA32C #2CA38D
square
#522CA3 #A32C41 #7DA32C #2CA38D
split-complementary
#522CA3 #A38D2C #41A32C
monochromatic
#221243 #3A1F73 #522CA3 #6D41CC #9271D9

Accessibility & contrast

On white

9.34
#522CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#522CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522CA3
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522CA3#FFFFFF#000000##FFFFFF
##522CA31.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#374B65
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #522ca3;
/* rgb */ color: rgb(82, 44, 163);
/* oklch */ color: oklch(41.7% 0.179 291.2);
Tailwind
colors: {
  custom: {
    50: '#8b69bf',
    500: '#522ca3',
    950: '#000000',
  },
}
SCSS
$custom: #522ca3;
$custom-light: #8b69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#522ca3",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 259.16,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41671,
    "c": 0.17864,
    "h": 291.2
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#522CA3
secondary
#A5C06B
accent
#E147B0
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #522CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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