#522C76#522C76

#522C76 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.0% C 0.124 H 304.9°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#522C76
RGBrgb(82, 44, 118)
HSLhsl(271, 46%, 32%)
HSVhsv(271, 63%, 46%)
CMYKcmyk(30.5%, 62.7%, 0%, 53.7%)
CIE-LABlab(26.46, 32.87, -35.91)
CIE-LCHlch(26.46, 48.68, 312.47°)
OKLaboklab(38.01% 0.0708 -0.1015)
OKLCHoklch(38.01% 0.124 304.9)
XYZxyz(7.6497, 4.9033, 17.6795)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522C76 #50762C
analogous
#2D2C76 #522C76 #762C75
triadic
#522C76 #76522C #2C7652
tetradic
#522C76 #762D2C #50762C #2C7576
square
#522C76 #762D2C #50762C #2C7576
split-complementary
#522C76 #75762C #2C762D
monochromatic
#140B1D #331B49 #522C76 #713DA3 #905BC2

Accessibility & contrast

On white

10.60
#522C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#522C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522C76
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522C76#FFFFFF#000000##FFFFFF
##522C761.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073E78
Deuteranopia (green-blind)
#1C3F74
Tritanopia (blue-blind)
#4C3B4C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #522c76;
/* rgb */ color: rgb(82, 44, 118);
/* oklch */ color: oklch(38.0% 0.124 304.9);
Tailwind
colors: {
  custom: {
    50: '#85679e',
    500: '#522c76',
    950: '#000000',
  },
}
SCSS
$custom: #522c76;
$custom-light: #85679e;
$custom-dark: #000000;
JSON
{
  "hex": "#522c76",
  "rgb": {
    "r": 82,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 270.811,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38008,
    "c": 0.12374,
    "h": 304.9
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#522C76
secondary
#7EA756
accent
#D55292
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522C76

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

Preview Lab → · Contrast checker → · Palette generator →

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