#522F99#522F99

#522F99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.2% C 0.163 H 293.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#522F99
RGBrgb(82, 47, 153)
HSLhsl(260, 53%, 39%)
HSVhsv(260, 69%, 60%)
CMYKcmyk(46.4%, 69.3%, 0%, 40%)
CIE-LABlab(29.73, 40.84, -52.41)
CIE-LCHlch(29.73, 66.44, 307.93°)
OKLaboklab(41.21% 0.0637 -0.15)
OKLCHoklch(41.21% 0.163 293)
XYZxyz(10.2444, 6.1265, 30.7736)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522F99 #76992F
analogous
#2F4199 #522F99 #872F99
triadic
#522F99 #99522F #2F9952
tetradic
#522F99 #992F41 #76992F #2F9987
square
#522F99 #992F41 #76992F #2F9987
split-complementary
#522F99 #99872F #41992F
monochromatic
#20123B #39216A #522F99 #6C41C5 #906FD3

Accessibility & contrast

On white

9.44
#522F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#522F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522F99
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522F99#FFFFFF#000000##FFFFFF
##522F991.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#3D4960
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #522f99;
/* rgb */ color: rgb(82, 47, 153);
/* oklch */ color: oklch(41.2% 0.163 293.0);
Tailwind
colors: {
  custom: {
    50: '#896ab8',
    500: '#522f99',
    950: '#000000',
  },
}
SCSS
$custom: #522f99;
$custom-light: #896ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#522f99",
  "rgb": {
    "r": 82,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 259.811,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.163,
    "h": 293
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#522F99
secondary
#A0BA69
accent
#DC4BAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #522F99

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

Preview Lab → · Contrast checker → · Palette generator →

#522F99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva