#5329A2#5329A2

#5329A2 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.181 H 292.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#5329A2
RGBrgb(83, 41, 162)
HSLhsl(261, 60%, 40%)
HSVhsv(261, 75%, 64%)
CMYKcmyk(48.8%, 74.7%, 0%, 36.5%)
CIE-LABlab(29.50, 46.67, -58.26)
CIE-LCHlch(29.50, 74.65, 308.70°)
OKLaboklab(41.31% 0.0691 -0.1671)
OKLCHoklch(41.31% 0.181 292.5)
XYZxyz(10.8800, 6.0331, 34.7667)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5329A2 #78A229
analogous
#293CA2 #5329A2 #8F29A2
triadic
#5329A2 #A25329 #29A253
tetradic
#5329A2 #A2293C #78A229 #29A28F
square
#5329A2 #A2293C #78A229 #29A28F
split-complementary
#5329A2 #A28F29 #3CA229
monochromatic
#211040 #3A1D71 #5329A2 #6E3BCD #926CDA

Accessibility & contrast

On white

9.52
#5329A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5329A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5329A2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5329A2#FFFFFF#000000##FFFFFF
##5329A21.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#3A4963
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5329a2;
/* rgb */ color: rgb(83, 41, 162);
/* oklch */ color: oklch(41.3% 0.181 292.5);
Tailwind
colors: {
  custom: {
    50: '#8b67bf',
    500: '#5329a2',
    950: '#000000',
  },
}
SCSS
$custom: #5329a2;
$custom-light: #8b67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5329a2",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 260.826,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.18086,
    "h": 292.5
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#5329A2
secondary
#A1C067
accent
#E345AC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5329A2

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

Preview Lab → · Contrast checker → · Palette generator →

#5329A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva