#522993#522993

#522993 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.163 H 295.7°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#522993
RGBrgb(82, 41, 147)
HSLhsl(263, 56%, 37%)
HSVhsv(263, 72%, 58%)
CMYKcmyk(44.2%, 72.1%, 0%, 42.4%)
CIE-LABlab(28.08, 42.36, -51.42)
CIE-LCHlch(28.08, 66.62, 309.48°)
OKLaboklab(39.87% 0.071 -0.1471)
OKLCHoklch(39.87% 0.163 295.7)
XYZxyz(9.5377, 5.4861, 28.1545)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522993 #6A9329
analogous
#293593 #522993 #872993
triadic
#522993 #935229 #299352
tetradic
#522993 #932935 #6A9329 #299387
square
#522993 #932935 #6A9329 #299387
split-complementary
#522993 #938729 #359329
monochromatic
#1D0E33 #371C63 #522993 #6D36C3 #8E63D3

Accessibility & contrast

On white

10.01
#522993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#522993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522993
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522993#FFFFFF#000000##FFFFFF
##5229931.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#41445B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #522993;
/* rgb */ color: rgb(82, 41, 147);
/* oklch */ color: oklch(39.9% 0.163 295.7);
Tailwind
colors: {
  custom: {
    50: '#8966b4',
    500: '#522993',
    950: '#000000',
  },
}
SCSS
$custom: #522993;
$custom-light: #8966b4;
$custom-dark: #000000;
JSON
{
  "hex": "#522993",
  "rgb": {
    "r": 82,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 263.208,
    "s": 56.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39874,
    "c": 0.16332,
    "h": 295.7
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#522993
secondary
#96B95E
accent
#E048A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #522993

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

Preview Lab → · Contrast checker → · Palette generator →

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