#522E86#522E86

#522E86 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.5% C 0.141 H 298.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#522E86
RGBrgb(82, 46, 134)
HSLhsl(265, 49%, 35%)
HSVhsv(265, 66%, 53%)
CMYKcmyk(38.8%, 65.7%, 0%, 47.5%)
CIE-LABlab(28.03, 36.05, -43.44)
CIE-LCHlch(28.03, 56.45, 309.69°)
OKLaboklab(39.52% 0.0673 -0.1237)
OKLCHoklch(39.52% 0.141 298.6)
XYZxyz(8.7587, 5.4689, 23.1438)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522E86 #62862E
analogous
#2E3686 #522E86 #7E2E86
triadic
#522E86 #86522E #2E8652
tetradic
#522E86 #862E36 #62862E #2E867E
square
#522E86 #862E36 #62862E #2E867E
split-complementary
#522E86 #867E2E #36862E
monochromatic
#1A0F2B #361E58 #522E86 #6E3EB4 #8E64CA

Accessibility & contrast

On white

10.03
#522E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #522E86
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522E86#FFFFFF#000000##FFFFFF
##522E861.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#014184
Tritanopia (blue-blind)
#464255
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522e86;
/* rgb */ color: rgb(82, 46, 134);
/* oklch */ color: oklch(39.5% 0.141 298.6);
Tailwind
colors: {
  custom: {
    50: '#8769aa',
    500: '#522e86',
    950: '#000000',
  },
}
SCSS
$custom: #522e86;
$custom-light: #8769aa;
$custom-dark: #000000;
JSON
{
  "hex": "#522e86",
  "rgb": {
    "r": 82,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 264.545,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39517,
    "c": 0.14078,
    "h": 298.6
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#522E86
secondary
#8FB15F
accent
#D84FA0
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #522E86

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

Preview Lab → · Contrast checker → · Palette generator →

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