#522476#522476

#522476 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.136 H 306.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#522476
RGBrgb(82, 36, 118)
HSLhsl(274, 53%, 30%)
HSVhsv(274, 69%, 46%)
CMYKcmyk(30.5%, 69.5%, 0%, 53.7%)
CIE-LABlab(24.84, 37.28, -38.51)
CIE-LCHlch(24.84, 53.60, 314.07°)
OKLaboklab(36.84% 0.0811 -0.1091)
OKLCHoklch(36.84% 0.136 306.6)
XYZxyz(7.3799, 4.3637, 17.5895)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522476 #487624
analogous
#292476 #522476 #762471
triadic
#522476 #765224 #247652
tetradic
#522476 #762924 #487624 #247176
square
#522476 #762924 #487624 #247176
split-complementary
#522476 #717624 #247629
monochromatic
#110718 #311647 #522476 #7332A5 #924CC8

Accessibility & contrast

On white

11.21
#522476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#522476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522476
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522476#FFFFFF#000000##FFFFFF
##5224761.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#0F3B74
Tritanopia (blue-blind)
#4C364A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #522476;
/* rgb */ color: rgb(82, 36, 118);
/* oklch */ color: oklch(36.8% 0.136 306.6);
Tailwind
colors: {
  custom: {
    50: '#86629e',
    500: '#522476',
    950: '#000000',
  },
}
SCSS
$custom: #522476;
$custom-light: #86629e;
$custom-dark: #000000;
JSON
{
  "hex": "#522476",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 273.659,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.36838,
    "c": 0.13595,
    "h": 306.6
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#522476
secondary
#75A94D
accent
#DD4B8B
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0B050E
muted
#7C7A7E

Preview Lab

Preview with #522476

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

Preview Lab → · Contrast checker → · Palette generator →

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