#5322A6#5322A6

#5322A6 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.9% C 0.192 H 292.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#5322A6
RGBrgb(83, 34, 166)
HSLhsl(262, 66%, 39%)
HSVhsv(262, 80%, 65%)
CMYKcmyk(50%, 79.5%, 0%, 34.9%)
CIE-LABlab(28.74, 50.98, -61.92)
CIE-LCHlch(28.74, 80.21, 309.47°)
OKLaboklab(40.89% 0.0736 -0.1778)
OKLCHoklch(40.89% 0.192 292.5)
XYZxyz(11.0203, 5.7358, 36.5955)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5322A6 #75A622
analogous
#2233A6 #5322A6 #9522A6
triadic
#5322A6 #A65322 #22A653
tetradic
#5322A6 #A62233 #75A622 #22A695
square
#5322A6 #A62233 #75A622 #22A695
split-complementary
#5322A6 #A69522 #33A622
monochromatic
#200D40 #3A1873 #5322A6 #6D30D5 #9163DF

Accessibility & contrast

On white

9.78
#5322A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#5322A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5322A6
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5322A6#FFFFFF#000000##FFFFFF
##5322A61.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#384864
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5322a6;
/* rgb */ color: rgb(83, 34, 166);
/* oklch */ color: oklch(40.9% 0.192 292.5);
Tailwind
colors: {
  custom: {
    50: '#8c64c2',
    500: '#5322a6',
    950: '#000000',
  },
}
SCSS
$custom: #5322a6;
$custom-light: #8c64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5322a6",
  "rgb": {
    "r": 83,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 262.273,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40888,
    "c": 0.19247,
    "h": 292.5
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#5322A6
secondary
#9FC45F
accent
#E93FAA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5322A6

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

Preview Lab → · Contrast checker → · Palette generator →

#5322A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva