#5328D1#5328D1

#5328D1 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.234 H 283.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5328D1
RGBrgb(83, 40, 209)
HSLhsl(255, 68%, 49%)
HSVhsv(255, 81%, 82%)
CMYKcmyk(60.3%, 80.9%, 0%, 18%)
CIE-LABlab(33.90, 60.03, -78.85)
CIE-LCHlch(33.90, 99.10, 307.28°)
OKLaboklab(45.75% 0.056 -0.2273)
OKLCHoklch(45.75% 0.234 283.8)
XYZxyz(15.8311, 7.9590, 61.0112)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5328D1 #A6D128
analogous
#2852D1 #5328D1 #A828D1
triadic
#5328D1 #D15328 #28D153
tetradic
#5328D1 #D12852 #A6D128 #28D1A8
square
#5328D1 #D12852 #A6D128 #28D1A8
split-complementary
#5328D1 #D1A828 #52D128
monochromatic
#2A146A #3F1E9E #5328D1 #7A57DF #A38BE9

Accessibility & contrast

On white

8.10
#5328D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5328D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5328D1
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5328D1#FFFFFF#000000##FFFFFF
##5328D11.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D6
Deuteranopia (green-blind)
#004ACE
Tritanopia (blue-blind)
#005C7E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5328d1;
/* rgb */ color: rgb(83, 40, 209);
/* oklch */ color: oklch(45.7% 0.234 283.8);
Tailwind
colors: {
  custom: {
    50: '#9369e1',
    500: '#5328d1',
    950: '#000000',
  },
}
SCSS
$custom: #5328d1;
$custom-light: #9369e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5328d1",
  "rgb": {
    "r": 83,
    "g": 40,
    "b": 209
  },
  "hsl": {
    "h": 255.266,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45748,
    "c": 0.23413,
    "h": 283.8
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

primary
#5328D1
secondary
#BED382
accent
#EB3DBF
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0F0715
muted
#7E7A84

Preview Lab

Preview with #5328D1

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

Preview Lab → · Contrast checker → · Palette generator →

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