#5328B6#5328B6

#5328B6 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.1% C 0.205 H 288.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#5328B6
RGBrgb(83, 40, 182)
HSLhsl(258, 64%, 44%)
HSVhsv(258, 78%, 71%)
CMYKcmyk(54.4%, 78%, 0%, 28.6%)
CIE-LABlab(31.19, 52.65, -67.47)
CIE-LCHlch(31.19, 85.58, 307.97°)
OKLaboklab(43.06% 0.0644 -0.1941)
OKLCHoklch(43.06% 0.205 288.4)
XYZxyz(12.7671, 6.7333, 44.8738)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328B6 #8BB628
analogous
#2844B6 #5328B6 #9A28B6
triadic
#5328B6 #B65328 #28B653
tetradic
#5328B6 #B62844 #8BB628 #28B69A
square
#5328B6 #B62844 #8BB628 #28B69A
split-complementary
#5328B6 #B69A28 #44B628
monochromatic
#251252 #3C1D84 #5328B6 #7145D6 #9777E1

Accessibility & contrast

On white

8.95
#5328B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5328B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328B6
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328B6#FFFFFF#000000##FFFFFF
##5328B61.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#2A516E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5328b6;
/* rgb */ color: rgb(83, 40, 182);
/* oklch */ color: oklch(43.1% 0.205 288.4);
Tailwind
colors: {
  custom: {
    50: '#8e68cd',
    500: '#5328b6',
    950: '#000000',
  },
}
SCSS
$custom: #5328b6;
$custom-light: #8e68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5328b6",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 258.169,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.20452,
    "h": 288.4
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#5328B6
secondary
#AEC971
accent
#E741B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0614
muted
#7E7A82

Preview Lab

Preview with #5328B6

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

Preview Lab → · Contrast checker → · Palette generator →

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