#522576#522576

#522576 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.0% C 0.134 H 306.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#522576
RGBrgb(82, 37, 118)
HSLhsl(273, 52%, 30%)
HSVhsv(273, 69%, 46%)
CMYKcmyk(30.5%, 68.6%, 0%, 53.7%)
CIE-LABlab(25.03, 36.75, -38.21)
CIE-LCHlch(25.03, 53.01, 313.89°)
OKLaboklab(36.98% 0.0798 -0.1082)
OKLCHoklch(36.98% 0.134 306.4)
XYZxyz(7.4106, 4.4251, 17.5998)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522576 #497625
analogous
#292576 #522576 #762571
triadic
#522576 #765225 #257652
tetradic
#522576 #762925 #497625 #257176
square
#522576 #762925 #497625 #257176
split-complementary
#522576 #717625 #257629
monochromatic
#110819 #321647 #522576 #7234A5 #914EC7

Accessibility & contrast

On white

11.14
#522576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#522576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522576
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522576#FFFFFF#000000##FFFFFF
##5225761.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#113C74
Tritanopia (blue-blind)
#4C364A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522576;
/* rgb */ color: rgb(82, 37, 118);
/* oklch */ color: oklch(37.0% 0.134 306.4);
Tailwind
colors: {
  custom: {
    50: '#86639e',
    500: '#522576',
    950: '#000000',
  },
}
SCSS
$custom: #522576;
$custom-light: #86639e;
$custom-dark: #000000;
JSON
{
  "hex": "#522576",
  "rgb": {
    "r": 82,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 273.333,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.36975,
    "c": 0.13449,
    "h": 306.4
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#522576
secondary
#76A94E
accent
#DC4C8C
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #522576

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

Preview Lab → · Contrast checker → · Palette generator →

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