#5328C9#5328C9

#5328C9 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.225 H 285.1°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5328C9
RGBrgb(83, 40, 201)
HSLhsl(256, 67%, 47%)
HSVhsv(256, 80%, 79%)
CMYKcmyk(58.7%, 80.1%, 0%, 21.2%)
CIE-LABlab(33.08, 57.85, -75.55)
CIE-LCHlch(33.08, 95.16, 307.44°)
OKLaboklab(44.94% 0.0586 -0.2177)
OKLCHoklch(44.94% 0.225 285.1)
XYZxyz(14.8655, 7.5727, 55.9254)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328C9 #9EC928
analogous
#284DC9 #5328C9 #A428C9
triadic
#5328C9 #C95328 #28C953
tetradic
#5328C9 #C9284D #9EC928 #28C9A4
square
#5328C9 #C9284D #9EC928 #28C9A4
split-complementary
#5328C9 #C9A428 #4DC928
monochromatic
#291463 #3E1E96 #5328C9 #7752DD #9F85E7

Accessibility & contrast

On white

8.35
#5328C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5328C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328C9
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328C9#FFFFFF#000000##FFFFFF
##5328C91.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#085979
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5328c9;
/* rgb */ color: rgb(83, 40, 201);
/* oklch */ color: oklch(44.9% 0.225 285.1);
Tailwind
colors: {
  custom: {
    50: '#9169db',
    500: '#5328c9',
    950: '#000000',
  },
}
SCSS
$custom: #5328c9;
$custom-light: #9169db;
$custom-dark: #000000;
JSON
{
  "hex": "#5328c9",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 201
  },
  "hsl": {
    "h": 256.025,
    "s": 66.805,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44937,
    "c": 0.22546,
    "h": 285.1
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#5328C9
secondary
#BAD07D
accent
#EA3EBC
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #5328C9

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

Preview Lab → · Contrast checker → · Palette generator →

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