#5326A4#5326A4

#5326A4 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.186 H 292.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5326A4
RGBrgb(83, 38, 164)
HSLhsl(261, 62%, 40%)
HSVhsv(261, 77%, 64%)
CMYKcmyk(49.4%, 76.8%, 0%, 35.7%)
CIE-LABlab(29.17, 48.66, -60.00)
CIE-LCHlch(29.17, 77.25, 309.04°)
OKLaboklab(41.14% 0.0711 -0.1722)
OKLCHoklch(41.14% 0.186 292.4)
XYZxyz(10.9594, 5.9052, 35.6771)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326A4 #77A426
analogous
#2638A4 #5326A4 #9226A4
triadic
#5326A4 #A45326 #26A453
tetradic
#5326A4 #A42638 #77A426 #26A492
square
#5326A4 #A42638 #77A426 #26A492
split-complementary
#5326A4 #A49226 #38A426
monochromatic
#210F41 #3A1A72 #5326A4 #6E37D1 #9268DC

Accessibility & contrast

On white

9.63
#5326A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5326A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326A4
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326A4#FFFFFF#000000##FFFFFF
##5326A41.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A8
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#394964
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5326a4;
/* rgb */ color: rgb(83, 38, 164);
/* oklch */ color: oklch(41.1% 0.186 292.4);
Tailwind
colors: {
  custom: {
    50: '#8c66c0',
    500: '#5326a4',
    950: '#000000',
  },
}
SCSS
$custom: #5326a4;
$custom-light: #8c66c0;
$custom-dark: #000000;
JSON
{
  "hex": "#5326a4",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 261.429,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41136,
    "c": 0.18633,
    "h": 292.4
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#5326A4
secondary
#A0C264
accent
#E542AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5326A4

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

Preview Lab → · Contrast checker → · Palette generator →

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