#522E76#522E76

#522E76 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.3% C 0.121 H 304.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#522E76
RGBrgb(82, 46, 118)
HSLhsl(270, 44%, 32%)
HSVhsv(270, 61%, 46%)
CMYKcmyk(30.5%, 61%, 0%, 53.7%)
CIE-LABlab(26.89, 31.71, -35.21)
CIE-LCHlch(26.89, 47.38, 312.00°)
OKLaboklab(38.33% 0.068 -0.0995)
OKLCHoklch(38.33% 0.121 304.4)
XYZxyz(7.7260, 5.0559, 17.7049)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E76 #52762E
analogous
#2E2E76 #522E76 #762E76
triadic
#522E76 #76522E #2E7652
tetradic
#522E76 #762E2E #52762E #2E7676
square
#522E76 #762E2E #52762E #2E7676
split-complementary
#522E76 #76762E #2E762E
monochromatic
#150C1E #331D4A #522E76 #713FA2 #8F5EC0

Accessibility & contrast

On white

10.44
#522E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522E76
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E76#FFFFFF#000000##FFFFFF
##522E761.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3F78
Deuteranopia (green-blind)
#1E4074
Tritanopia (blue-blind)
#4C3C4D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #522e76;
/* rgb */ color: rgb(82, 46, 118);
/* oklch */ color: oklch(38.3% 0.121 304.4);
Tailwind
colors: {
  custom: {
    50: '#85689e',
    500: '#522e76',
    950: '#000000',
  },
}
SCSS
$custom: #522e76;
$custom-light: #85689e;
$custom-dark: #000000;
JSON
{
  "hex": "#522e76",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 270,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38326,
    "c": 0.12051,
    "h": 304.4
  },
  "luminance": 0.05056
}

Semantic roles & 50–950 ramp

primary
#522E76
secondary
#80A759
accent
#D45494
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B060E
muted
#7C7A7E

Preview Lab

Preview with #522E76

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

Preview Lab → · Contrast checker → · Palette generator →

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