#522999#522999

#522999 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.170 H 294.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#522999
RGBrgb(82, 41, 153)
HSLhsl(262, 58%, 38%)
HSVhsv(262, 73%, 60%)
CMYKcmyk(46.4%, 73.2%, 0%, 40%)
CIE-LABlab(28.59, 44.01, -54.27)
CIE-LCHlch(28.59, 69.87, 309.04°)
OKLaboklab(40.4% 0.0697 -0.1555)
OKLCHoklch(40.4% 0.17 294.1)
XYZxyz(10.0208, 5.6793, 30.6991)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522999 #709929
analogous
#293899 #522999 #8A2999
triadic
#522999 #995229 #299952
tetradic
#522999 #992938 #709929 #29998A
square
#522999 #992938 #709929 #29998A
split-complementary
#522999 #998A29 #389929
monochromatic
#1E0F38 #381C69 #522999 #6C36C9 #8F66D6

Accessibility & contrast

On white

9.83
#522999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#522999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522999
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522999#FFFFFF#000000##FFFFFF
##5229991.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#3D465E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #522999;
/* rgb */ color: rgb(82, 41, 153);
/* oklch */ color: oklch(40.4% 0.170 294.1);
Tailwind
colors: {
  custom: {
    50: '#8967b8',
    500: '#522999',
    950: '#000000',
  },
}
SCSS
$custom: #522999;
$custom-light: #8967b8;
$custom-dark: #000000;
JSON
{
  "hex": "#522999",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 261.964,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40396,
    "c": 0.17037,
    "h": 294.1
  },
  "luminance": 0.0568
}

Semantic roles & 50–950 ramp

primary
#522999
secondary
#9BBC62
accent
#E147A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522999

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

Preview Lab → · Contrast checker → · Palette generator →

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