#5328B2#5328B2

#5328B2 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.7% C 0.200 H 289.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#5328B2
RGBrgb(83, 40, 178)
HSLhsl(259, 63%, 43%)
HSVhsv(259, 78%, 70%)
CMYKcmyk(53.4%, 77.5%, 0%, 30.2%)
CIE-LABlab(30.81, 51.55, -65.72)
CIE-LCHlch(30.81, 83.53, 308.11°)
OKLaboklab(42.68% 0.0656 -0.189)
OKLCHoklch(42.68% 0.2 289.1)
XYZxyz(12.3596, 6.5704, 42.7278)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328B2 #87B228
analogous
#2842B2 #5328B2 #9828B2
triadic
#5328B2 #B25328 #28B253
tetradic
#5328B2 #B22842 #87B228 #28B298
square
#5328B2 #B22842 #87B228 #28B298
split-complementary
#5328B2 #B29828 #42B228
monochromatic
#24124E #3C1D80 #5328B2 #7043D5 #9675E0

Accessibility & contrast

On white

9.07
#5328B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5328B2
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328B2#FFFFFF#000000##FFFFFF
##5328B21.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#2E4F6C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5328b2;
/* rgb */ color: rgb(83, 40, 178);
/* oklch */ color: oklch(42.7% 0.200 289.1);
Tailwind
colors: {
  custom: {
    50: '#8e67ca',
    500: '#5328b2',
    950: '#000000',
  },
}
SCSS
$custom: #5328b2;
$custom-light: #8e67ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5328b2",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 258.696,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4268,
    "c": 0.20005,
    "h": 289.1
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#5328B2
secondary
#ACC76F
accent
#E641B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5328B2

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

Preview Lab → · Contrast checker → · Palette generator →

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