#5329AB#5329AB

#5329AB is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.191 H 290.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#5329AB
RGBrgb(83, 41, 171)
HSLhsl(259, 61%, 42%)
HSVhsv(259, 76%, 67%)
CMYKcmyk(51.5%, 76%, 0%, 32.9%)
CIE-LABlab(30.31, 49.16, -62.34)
CIE-LCHlch(30.31, 79.39, 308.25°)
OKLaboklab(42.13% 0.0668 -0.1791)
OKLCHoklch(42.13% 0.191 290.5)
XYZxyz(11.7088, 6.3647, 39.1317)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5329AB #81AB29
analogous
#2940AB #5329AB #9429AB
triadic
#5329AB #AB5329 #29AB53
tetradic
#5329AB #AB2940 #81AB29 #29AB94
square
#5329AB #AB2940 #81AB29 #29AB94
split-complementary
#5329AB #AB9429 #40AB29
monochromatic
#231148 #3B1D7A #5329AB #6F40D1 #9471DD

Accessibility & contrast

On white

9.24
#5329AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5329AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5329AB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5329AB#FFFFFF#000000##FFFFFF
##5329AB1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#344D68
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5329ab;
/* rgb */ color: rgb(83, 41, 171);
/* oklch */ color: oklch(42.1% 0.191 290.5);
Tailwind
colors: {
  custom: {
    50: '#8d67c5',
    500: '#5329ab',
    950: '#000000',
  },
}
SCSS
$custom: #5329ab;
$custom-light: #8d67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5329ab",
  "rgb": {
    "r": 83,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 259.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42134,
    "c": 0.19116,
    "h": 290.5
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#5329AB
secondary
#A8C46C
accent
#E443B0
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5329AB

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

Preview Lab → · Contrast checker → · Palette generator →

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