#5328B1#5328B1

#5328B1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.199 H 289.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#5328B1
RGBrgb(83, 40, 177)
HSLhsl(259, 63%, 43%)
HSVhsv(259, 77%, 69%)
CMYKcmyk(53.1%, 77.4%, 0%, 30.6%)
CIE-LABlab(30.71, 51.28, -65.28)
CIE-LCHlch(30.71, 83.01, 308.15°)
OKLaboklab(42.58% 0.0659 -0.1877)
OKLCHoklch(42.58% 0.199 289.3)
XYZxyz(12.2596, 6.5303, 42.2010)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328B1 #86B128
analogous
#2841B1 #5328B1 #9728B1
triadic
#5328B1 #B15328 #28B153
tetradic
#5328B1 #B12841 #86B128 #28B197
square
#5328B1 #B12841 #86B128 #28B197
split-complementary
#5328B1 #B19728 #41B128
monochromatic
#24114D #3C1D7F #5328B1 #7042D4 #9674E0

Accessibility & contrast

On white

9.11
#5328B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5328B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328B1
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328B1#FFFFFF#000000##FFFFFF
##5328B11.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#2F4F6C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5328b1;
/* rgb */ color: rgb(83, 40, 177);
/* oklch */ color: oklch(42.6% 0.199 289.3);
Tailwind
colors: {
  custom: {
    50: '#8e67c9',
    500: '#5328b1',
    950: '#000000',
  },
}
SCSS
$custom: #5328b1;
$custom-light: #8e67c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5328b1",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 258.832,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42584,
    "c": 0.19893,
    "h": 289.3
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#5328B1
secondary
#ABC76E
accent
#E642B3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5328B1

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

Preview Lab → · Contrast checker → · Palette generator →

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