#5328BC#5328BC

#5328BC is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.6% C 0.211 H 287.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#5328BC
RGBrgb(83, 40, 188)
HSLhsl(257, 65%, 45%)
HSVhsv(257, 79%, 74%)
CMYKcmyk(55.9%, 78.7%, 0%, 26.3%)
CIE-LABlab(31.78, 54.30, -70.06)
CIE-LCHlch(31.78, 88.64, 307.78°)
OKLaboklab(43.65% 0.0626 -0.2017)
OKLCHoklch(43.65% 0.211 287.2)
XYZxyz(13.4005, 6.9867, 48.2097)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328BC #91BC28
analogous
#2847BC #5328BC #9D28BC
triadic
#5328BC #BC5328 #28BC53
tetradic
#5328BC #BC2847 #91BC28 #28BC9D
square
#5328BC #BC2847 #91BC28 #28BC9D
split-complementary
#5328BC #BC9D28 #47BC28
monochromatic
#261357 #3D1D8A #5328BC #7349D8 #997BE3

Accessibility & contrast

On white

8.76
#5328BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#5328BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328BC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328BC#FFFFFF#000000##FFFFFF
##5328BC1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#235372
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5328bc;
/* rgb */ color: rgb(83, 40, 188);
/* oklch */ color: oklch(43.6% 0.211 287.2);
Tailwind
colors: {
  custom: {
    50: '#8f68d1',
    500: '#5328bc',
    950: '#000000',
  },
}
SCSS
$custom: #5328bc;
$custom-light: #8f68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5328bc",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 257.432,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.21119,
    "h": 287.2
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#5328BC
secondary
#B2CB75
accent
#E840B7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #5328BC

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

Preview Lab → · Contrast checker → · Palette generator →

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