#522C90#522C90

#522C90 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.156 H 296.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#522C90
RGBrgb(82, 44, 144)
HSLhsl(263, 53%, 37%)
HSVhsv(263, 69%, 56%)
CMYKcmyk(43.1%, 69.4%, 0%, 43.5%)
CIE-LABlab(28.40, 39.94, -49.04)
CIE-LCHlch(28.40, 63.25, 309.16°)
OKLaboklab(40.03% 0.0683 -0.1401)
OKLCHoklch(40.03% 0.156 296)
XYZxyz(9.4131, 5.6086, 26.9668)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C90 #6A902C
analogous
#2C3890 #522C90 #842C90
triadic
#522C90 #90522C #2C9052
tetradic
#522C90 #902C38 #6A902C #2C9084
square
#522C90 #902C38 #6A902C #2C9084
split-complementary
#522C90 #90842C #38902C
monochromatic
#1D0F32 #371E61 #522C90 #6D3ABF #8E66D0

Accessibility & contrast

On white

9.90
#522C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522C90
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C90#FFFFFF#000000##FFFFFF
##522C901.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004493
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#42445A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #522c90;
/* rgb */ color: rgb(82, 44, 144);
/* oklch */ color: oklch(40.0% 0.156 296.0);
Tailwind
colors: {
  custom: {
    50: '#8868b1',
    500: '#522c90',
    950: '#000000',
  },
}
SCSS
$custom: #522c90;
$custom-light: #8868b1;
$custom-dark: #000000;
JSON
{
  "hex": "#522c90",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 262.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40029,
    "c": 0.1559,
    "h": 296
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#522C90
secondary
#96B761
accent
#DD4BA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522C90

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

Preview Lab → · Contrast checker → · Palette generator →

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