#5326A1#5326A1

#5326A1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.183 H 293.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#5326A1
RGBrgb(83, 38, 161)
HSLhsl(262, 62%, 39%)
HSVhsv(262, 76%, 63%)
CMYKcmyk(48.4%, 76.4%, 0%, 36.9%)
CIE-LABlab(28.90, 47.84, -58.63)
CIE-LCHlch(28.90, 75.67, 309.21°)
OKLaboklab(40.86% 0.072 -0.1682)
OKLCHoklch(40.86% 0.183 293.2)
XYZxyz(10.6916, 5.7981, 34.2671)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326A1 #74A126
analogous
#2637A1 #5326A1 #9126A1
triadic
#5326A1 #A15326 #26A153
tetradic
#5326A1 #A12637 #74A126 #26A191
square
#5326A1 #A12637 #74A126 #26A191
split-complementary
#5326A1 #A19126 #37A126
monochromatic
#200F3E #391A6F #5326A1 #6D35CF #9166DB

Accessibility & contrast

On white

9.72
#5326A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#5326A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326A1
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326A1#FFFFFF#000000##FFFFFF
##5326A11.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#3B4762
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5326a1;
/* rgb */ color: rgb(83, 38, 161);
/* oklch */ color: oklch(40.9% 0.183 293.2);
Tailwind
colors: {
  custom: {
    50: '#8b65be',
    500: '#5326a1',
    950: '#000000',
  },
}
SCSS
$custom: #5326a1;
$custom-light: #8b65be;
$custom-dark: #000000;
JSON
{
  "hex": "#5326a1",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 261.951,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.18295,
    "h": 293.2
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#5326A1
secondary
#9EC162
accent
#E543AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5326A1

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

Preview Lab → · Contrast checker → · Palette generator →

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