#522086#522086

#522086 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.159 H 301.3°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#522086
RGBrgb(82, 32, 134)
HSLhsl(269, 61%, 33%)
HSVhsv(269, 76%, 53%)
CMYKcmyk(38.8%, 76.1%, 0%, 47.5%)
CIE-LABlab(25.41, 43.34, -47.70)
CIE-LCHlch(25.41, 64.45, 312.25°)
OKLaboklab(37.64% 0.0827 -0.1361)
OKLCHoklch(37.64% 0.159 301.3)
XYZxyz(8.2982, 4.5480, 22.9903)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522086 #548620
analogous
#202186 #522086 #852086
triadic
#522086 #865220 #208652
tetradic
#522086 #862021 #548620 #208685
square
#522086 #862021 #548620 #208685
split-complementary
#522086 #868520 #218620
monochromatic
#160823 #341455 #522086 #702CB7 #8F4CD4

Accessibility & contrast

On white

11.00
#522086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#522086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522086
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522086#FFFFFF#000000##FFFFFF
##5220861.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#473A51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522086;
/* rgb */ color: rgb(82, 32, 134);
/* oklch */ color: oklch(37.6% 0.159 301.3);
Tailwind
colors: {
  custom: {
    50: '#8861aa',
    500: '#522086',
    950: '#000000',
  },
}
SCSS
$custom: #522086;
$custom-light: #8861aa;
$custom-dark: #000000;
JSON
{
  "hex": "#522086",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 269.412,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37641,
    "c": 0.15928,
    "h": 301.3
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#522086
secondary
#82B74B
accent
#E54395
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #522086

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

Preview Lab → · Contrast checker → · Palette generator →

#522086 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva