#5326A2#5326A2

#5326A2 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.184 H 292.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#5326A2
RGBrgb(83, 38, 162)
HSLhsl(262, 62%, 39%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(48.8%, 76.5%, 0%, 36.5%)
CIE-LABlab(28.99, 48.11, -59.09)
CIE-LCHlch(28.99, 76.20, 309.15°)
OKLaboklab(40.95% 0.0717 -0.1695)
OKLCHoklch(40.95% 0.184 292.9)
XYZxyz(10.7802, 5.8335, 34.7334)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326A2 #75A226
analogous
#2637A2 #5326A2 #9126A2
triadic
#5326A2 #A25326 #26A253
tetradic
#5326A2 #A22637 #75A226 #26A291
square
#5326A2 #A22637 #75A226 #26A291
split-complementary
#5326A2 #A29126 #37A226
monochromatic
#200F3F #3A1A70 #5326A2 #6D35D0 #9167DB

Accessibility & contrast

On white

9.69
#5326A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5326A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5326A2
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326A2#FFFFFF#000000##FFFFFF
##5326A21.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A6
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#3A4863
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5326a2;
/* rgb */ color: rgb(83, 38, 162);
/* oklch */ color: oklch(41.0% 0.184 292.9);
Tailwind
colors: {
  custom: {
    50: '#8b65bf',
    500: '#5326a2',
    950: '#000000',
  },
}
SCSS
$custom: #5326a2;
$custom-light: #8b65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5326a2",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 261.774,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40951,
    "c": 0.18408,
    "h": 292.9
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5326A2

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

Preview Lab → · Contrast checker → · Palette generator →

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