#5328A3#5328A3

#5328A3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.183 H 292.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#5328A3
RGBrgb(83, 40, 163)
HSLhsl(261, 61%, 40%)
HSVhsv(261, 75%, 64%)
CMYKcmyk(49.1%, 75.5%, 0%, 36.1%)
CIE-LABlab(29.41, 47.43, -59.00)
CIE-LCHlch(29.41, 75.70, 308.80°)
OKLaboklab(41.28% 0.0697 -0.1693)
OKLCHoklch(41.28% 0.183 292.4)
XYZxyz(10.9351, 6.0005, 35.2253)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328A3 #78A328
analogous
#283AA3 #5328A3 #9128A3
triadic
#5328A3 #A35328 #28A353
tetradic
#5328A3 #A3283A #78A328 #28A391
square
#5328A3 #A3283A #78A328 #28A391
split-complementary
#5328A3 #A39128 #3AA328
monochromatic
#211041 #3A1C72 #5328A3 #6E3ACF #926BDB

Accessibility & contrast

On white

9.54
#5328A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#5328A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328A3
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328A3#FFFFFF#000000##FFFFFF
##5328A31.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#394964
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5328a3;
/* rgb */ color: rgb(83, 40, 163);
/* oklch */ color: oklch(41.3% 0.183 292.4);
Tailwind
colors: {
  custom: {
    50: '#8b67bf',
    500: '#5328a3',
    950: '#000000',
  },
}
SCSS
$custom: #5328a3;
$custom-light: #8b67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5328a3",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 260.976,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41278,
    "c": 0.18309,
    "h": 292.4
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#5328A3
secondary
#A1C166
accent
#E444AC
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5328A3

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

Preview Lab → · Contrast checker → · Palette generator →

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