#5326A8#5326A8

#5326A8 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.191 H 291.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5326A8
RGBrgb(83, 38, 168)
HSLhsl(261, 63%, 40%)
HSVhsv(261, 77%, 66%)
CMYKcmyk(50.6%, 77.4%, 0%, 34.1%)
CIE-LABlab(29.54, 49.74, -61.81)
CIE-LCHlch(29.54, 79.34, 308.83°)
OKLaboklab(41.51% 0.07 -0.1775)
OKLCHoklch(41.51% 0.191 291.5)
XYZxyz(11.3263, 6.0519, 37.6096)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326A8 #7BA826
analogous
#263AA8 #5326A8 #9426A8
triadic
#5326A8 #A85326 #26A853
tetradic
#5326A8 #A8263A #7BA826 #26A894
square
#5326A8 #A8263A #7BA826 #26A894
split-complementary
#5326A8 #A89426 #3AA826
monochromatic
#220F44 #3A1B76 #5326A8 #6E39D2 #936BDE

Accessibility & contrast

On white

9.50
#5326A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5326A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326A8
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326A8#FFFFFF#000000##FFFFFF
##5326A81.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#364A66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5326a8;
/* rgb */ color: rgb(83, 38, 168);
/* oklch */ color: oklch(41.5% 0.191 291.5);
Tailwind
colors: {
  custom: {
    50: '#8c66c3',
    500: '#5326a8',
    950: '#000000',
  },
}
SCSS
$custom: #5326a8;
$custom-light: #8c66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5326a8",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 260.769,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41509,
    "c": 0.19082,
    "h": 291.5
  },
  "luminance": 0.06052
}

Semantic roles & 50–950 ramp

primary
#5326A8
secondary
#A3C466
accent
#E642AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5326A8

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

Preview Lab → · Contrast checker → · Palette generator →

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