#5326A9#5326A9

#5326A9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.192 H 291.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#5326A9
RGBrgb(83, 38, 169)
HSLhsl(261, 63%, 41%)
HSVhsv(261, 78%, 66%)
CMYKcmyk(50.9%, 77.5%, 0%, 33.7%)
CIE-LABlab(29.64, 50.01, -62.25)
CIE-LCHlch(29.64, 79.86, 308.78°)
OKLaboklab(41.6% 0.0697 -0.1788)
OKLCHoklch(41.6% 0.192 291.3)
XYZxyz(11.4198, 6.0893, 38.1021)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326A9 #7CA926
analogous
#263AA9 #5326A9 #9426A9
triadic
#5326A9 #A95326 #26A953
tetradic
#5326A9 #A9263A #7CA926 #26A994
square
#5326A9 #A9263A #7CA926 #26A994
split-complementary
#5326A9 #A99426 #3AA926
monochromatic
#221045 #3A1B77 #5326A9 #6E3AD3 #936CDE

Accessibility & contrast

On white

9.47
#5326A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#5326A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326A9
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326A9#FFFFFF#000000##FFFFFF
##5326A91.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#354B67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5326a9;
/* rgb */ color: rgb(83, 38, 169);
/* oklch */ color: oklch(41.6% 0.192 291.3);
Tailwind
colors: {
  custom: {
    50: '#8c66c4',
    500: '#5326a9',
    950: '#000000',
  },
}
SCSS
$custom: #5326a9;
$custom-light: #8c66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5326a9",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 260.611,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41603,
    "c": 0.19193,
    "h": 291.3
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#5326A9
secondary
#A4C467
accent
#E641AE
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5326A9

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

Preview Lab → · Contrast checker → · Palette generator →

#5326A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva