#522676#522676

#522676 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.133 H 306.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#522676
RGBrgb(82, 38, 118)
HSLhsl(273, 51%, 31%)
HSVhsv(273, 68%, 46%)
CMYKcmyk(30.5%, 67.8%, 0%, 53.7%)
CIE-LABlab(25.22, 36.22, -37.89)
CIE-LCHlch(25.22, 52.42, 313.71°)
OKLaboklab(37.11% 0.0786 -0.1073)
OKLCHoklch(37.11% 0.133 306.2)
XYZxyz(7.4421, 4.4881, 17.6103)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522676 #4A7626
analogous
#2A2676 #522676 #762672
triadic
#522676 #765226 #267652
tetradic
#522676 #762A26 #4A7626 #267276
square
#522676 #762A26 #4A7626 #267276
split-complementary
#522676 #727626 #26762A
monochromatic
#120819 #321748 #522676 #7235A4 #9150C7

Accessibility & contrast

On white

11.07
#522676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#522676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522676
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522676#FFFFFF#000000##FFFFFF
##5226761.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#133C74
Tritanopia (blue-blind)
#4C374A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #522676;
/* rgb */ color: rgb(82, 38, 118);
/* oklch */ color: oklch(37.1% 0.133 306.2);
Tailwind
colors: {
  custom: {
    50: '#86639e',
    500: '#522676',
    950: '#000000',
  },
}
SCSS
$custom: #522676;
$custom-light: #86639e;
$custom-dark: #000000;
JSON
{
  "hex": "#522676",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 118
  },
  "hsl": {
    "h": 273,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37114,
    "c": 0.13301,
    "h": 306.2
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#522676
secondary
#77A84F
accent
#DB4D8D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #522676

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

Preview Lab → · Contrast checker → · Palette generator →

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