#522076#522076

#522076 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.142 H 307.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#522076
RGBrgb(82, 32, 118)
HSLhsl(275, 57%, 29%)
HSVhsv(275, 73%, 46%)
CMYKcmyk(30.5%, 72.9%, 0%, 53.7%)
CIE-LABlab(24.11, 39.30, -39.69)
CIE-LCHlch(24.11, 55.85, 314.72°)
OKLaboklab(36.32% 0.0858 -0.1125)
OKLCHoklch(36.32% 0.142 307.3)
XYZxyz(7.2655, 4.1350, 17.5514)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522076 #447620
analogous
#272076 #522076 #76206F
triadic
#522076 #765220 #207652
tetradic
#522076 #762720 #447620 #206F76
square
#522076 #762720 #447620 #206F76
split-complementary
#522076 #6F7620 #207627
monochromatic
#110718 #311346 #522076 #732DA6 #9344CC

Accessibility & contrast

On white

11.49
#522076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#522076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522076
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522076#FFFFFF#000000##FFFFFF
##5220761.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#073A74
Tritanopia (blue-blind)
#4C3348
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #522076;
/* rgb */ color: rgb(82, 32, 118);
/* oklch */ color: oklch(36.3% 0.142 307.3);
Tailwind
colors: {
  custom: {
    50: '#86609e',
    500: '#522076',
    950: '#000000',
  },
}
SCSS
$custom: #522076;
$custom-light: #86609e;
$custom-dark: #000000;
JSON
{
  "hex": "#522076",
  "rgb": {
    "r": 82,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 274.884,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36318,
    "c": 0.14151,
    "h": 307.3
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#522076
secondary
#71A948
accent
#E14787
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #522076

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

Preview Lab → · Contrast checker → · Palette generator →

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