#522599#522599

#522599 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.175 H 294.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#522599
RGBrgb(82, 37, 153)
HSLhsl(263, 61%, 37%)
HSVhsv(263, 76%, 60%)
CMYKcmyk(46.4%, 75.8%, 0%, 40%)
CIE-LABlab(27.89, 45.99, -55.41)
CIE-LCHlch(27.89, 72.01, 309.69°)
OKLaboklab(39.9% 0.0734 -0.1588)
OKLCHoklch(39.9% 0.175 294.8)
XYZxyz(9.8895, 5.4166, 30.6553)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522599 #6C9925
analogous
#253299 #522599 #8C2599
triadic
#522599 #995225 #259952
tetradic
#522599 #992532 #6C9925 #25998C
square
#522599 #992532 #6C9925 #25998C
split-complementary
#522599 #998C25 #329925
monochromatic
#1D0D36 #381968 #522599 #6C31CA #8F60D9

Accessibility & contrast

On white

10.08
#522599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#522599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522599
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522599#FFFFFF#000000##FFFFFF
##5225991.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#3E445D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522599;
/* rgb */ color: rgb(82, 37, 153);
/* oklch */ color: oklch(39.9% 0.175 294.8);
Tailwind
colors: {
  custom: {
    50: '#8a64b8',
    500: '#522599',
    950: '#000000',
  },
}
SCSS
$custom: #522599;
$custom-light: #8a64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#522599",
  "rgb": {
    "r": 82,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 263.276,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39903,
    "c": 0.17492,
    "h": 294.8
  },
  "luminance": 0.05417
}

Semantic roles & 50–950 ramp

primary
#522599
secondary
#98BE5C
accent
#E444A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522599

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

Preview Lab → · Contrast checker → · Palette generator →

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