#522499#522499

#522499 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.176 H 295.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#522499
RGBrgb(82, 36, 153)
HSLhsl(264, 62%, 37%)
HSVhsv(264, 76%, 60%)
CMYKcmyk(46.4%, 76.5%, 0%, 40%)
CIE-LABlab(27.72, 46.46, -55.68)
CIE-LCHlch(27.72, 72.52, 309.84°)
OKLaboklab(39.79% 0.0743 -0.1596)
OKLCHoklch(39.79% 0.176 295)
XYZxyz(9.8588, 5.3552, 30.6450)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522499 #6B9924
analogous
#243099 #522499 #8D2499
triadic
#522499 #995224 #249952
tetradic
#522499 #992430 #6B9924 #24998D
square
#522499 #992430 #6B9924 #24998D
split-complementary
#522499 #998D24 #309924
monochromatic
#1D0D36 #371867 #522499 #6D30CB #8F5ED9

Accessibility & contrast

On white

10.14
#522499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#522499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522499
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522499#FFFFFF#000000##FFFFFF
##5224991.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#3E435D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #522499;
/* rgb */ color: rgb(82, 36, 153);
/* oklch */ color: oklch(39.8% 0.176 295.0);
Tailwind
colors: {
  custom: {
    50: '#8a64b8',
    500: '#522499',
    950: '#000000',
  },
}
SCSS
$custom: #522499;
$custom-light: #8a64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#522499",
  "rgb": {
    "r": 82,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 263.59,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39786,
    "c": 0.17602,
    "h": 295
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#522499
secondary
#97BE5B
accent
#E543A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522499

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

Preview Lab → · Contrast checker → · Palette generator →

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