#5326A3#5326A3

#5326A3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.185 H 292.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#5326A3
RGBrgb(83, 38, 163)
HSLhsl(262, 62%, 39%)
HSVhsv(262, 77%, 64%)
CMYKcmyk(49.1%, 76.7%, 0%, 36.1%)
CIE-LABlab(29.08, 48.38, -59.54)
CIE-LCHlch(29.08, 76.72, 309.10°)
OKLaboklab(41.04% 0.0714 -0.1709)
OKLCHoklch(41.04% 0.185 292.7)
XYZxyz(10.8694, 5.8692, 35.2034)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5326A3 #76A326
analogous
#2638A3 #5326A3 #9226A3
triadic
#5326A3 #A35326 #26A353
tetradic
#5326A3 #A32638 #76A326 #26A392
square
#5326A3 #A32638 #76A326 #26A392
split-complementary
#5326A3 #A39226 #38A326
monochromatic
#200F40 #3A1A71 #5326A3 #6E36D0 #9168DC

Accessibility & contrast

On white

9.66
#5326A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5326A3
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5326A3#FFFFFF#000000##FFFFFF
##5326A31.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A7
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#3A4863
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5326a3;
/* rgb */ color: rgb(83, 38, 163);
/* oklch */ color: oklch(41.0% 0.185 292.7);
Tailwind
colors: {
  custom: {
    50: '#8c65bf',
    500: '#5326a3',
    950: '#000000',
  },
}
SCSS
$custom: #5326a3;
$custom-light: #8c65bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5326a3",
  "rgb": {
    "r": 83,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 261.6,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41043,
    "c": 0.1852,
    "h": 292.7
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#5326A3
secondary
#A0C263
accent
#E543AB
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5326A3

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

Preview Lab → · Contrast checker → · Palette generator →

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