#522E85#522E85

#522E85 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.140 H 298.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#522E85
RGBrgb(82, 46, 133)
HSLhsl(265, 49%, 35%)
HSVhsv(265, 65%, 52%)
CMYKcmyk(38.3%, 65.4%, 0%, 47.8%)
CIE-LABlab(27.96, 35.78, -42.94)
CIE-LCHlch(27.96, 55.89, 309.80°)
OKLaboklab(39.44% 0.0674 -0.1222)
OKLCHoklch(39.44% 0.14 298.9)
XYZxyz(8.6893, 5.4412, 22.7782)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E85 #61852E
analogous
#2E3585 #522E85 #7E2E85
triadic
#522E85 #85522E #2E8552
tetradic
#522E85 #852E35 #61852E #2E857E
square
#522E85 #852E35 #61852E #2E857E
split-complementary
#522E85 #857E2E #35852E
monochromatic
#1A0F2A #361E58 #522E85 #6E3EB2 #8E64C9

Accessibility & contrast

On white

10.06
#522E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#522E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522E85
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E85#FFFFFF#000000##FFFFFF
##522E851.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#034183
Tritanopia (blue-blind)
#464155
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522e85;
/* rgb */ color: rgb(82, 46, 133);
/* oklch */ color: oklch(39.4% 0.140 298.9);
Tailwind
colors: {
  custom: {
    50: '#8769a9',
    500: '#522e85',
    950: '#000000',
  },
}
SCSS
$custom: #522e85;
$custom-light: #8769a9;
$custom-dark: #000000;
JSON
{
  "hex": "#522e85",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 264.828,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39439,
    "c": 0.13952,
    "h": 298.9
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#522E85
secondary
#8EB05F
accent
#D850A0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #522E85

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

Preview Lab → · Contrast checker → · Palette generator →

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