#5328BA#5328BA

#5328BA is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.209 H 287.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#5328BA
RGBrgb(83, 40, 186)
HSLhsl(258, 65%, 44%)
HSVhsv(258, 78%, 73%)
CMYKcmyk(55.4%, 78.5%, 0%, 27.1%)
CIE-LABlab(31.58, 53.75, -69.20)
CIE-LCHlch(31.58, 87.63, 307.84°)
OKLaboklab(43.45% 0.0632 -0.1992)
OKLCHoklch(43.45% 0.209 287.6)
XYZxyz(13.1864, 6.9011, 47.0821)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328BA #8FBA28
analogous
#2846BA #5328BA #9C28BA
triadic
#5328BA #BA5328 #28BA53
tetradic
#5328BA #BA2846 #8FBA28 #28BA9C
square
#5328BA #BA2846 #8FBA28 #28BA9C
split-complementary
#5328BA #BA9C28 #46BA28
monochromatic
#261255 #3D1D88 #5328BA #7248D8 #997AE2

Accessibility & contrast

On white

8.82
#5328BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5328BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328BA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328BA#FFFFFF#000000##FFFFFF
##5328BA1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#265371
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5328ba;
/* rgb */ color: rgb(83, 40, 186);
/* oklch */ color: oklch(43.5% 0.209 287.6);
Tailwind
colors: {
  custom: {
    50: '#8f68d0',
    500: '#5328ba',
    950: '#000000',
  },
}
SCSS
$custom: #5328ba;
$custom-light: #8f68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5328ba",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 257.671,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43451,
    "c": 0.20897,
    "h": 287.6
  },
  "luminance": 0.06902
}

Semantic roles & 50–950 ramp

primary
#5328BA
secondary
#B1CA73
accent
#E840B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #5328BA

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

Preview Lab → · Contrast checker → · Palette generator →

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