#5332BF#5332BF

#5332BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.205 H 285.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5332BF
RGBrgb(83, 50, 191)
HSLhsl(254, 59%, 47%)
HSVhsv(254, 74%, 75%)
CMYKcmyk(56.5%, 73.8%, 0%, 25.1%)
CIE-LABlab(33.73, 50.37, -68.61)
CIE-LCHlch(33.73, 85.12, 306.28°)
OKLaboklab(45.1% 0.0547 -0.1975)
OKLCHoklch(45.1% 0.205 285.5)
XYZxyz(14.1090, 7.8810, 50.0578)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332BF #9EBF32
analogous
#3257BF #5332BF #9A32BF
triadic
#5332BF #BF5332 #32BF53
tetradic
#5332BF #BF3257 #9EBF32 #32BF9A
square
#5332BF #BF3257 #9EBF32 #32BF9A
split-complementary
#5332BF #BF9A32 #57BF32
monochromatic
#29195E #3E258E #5332BF #775AD4 #9F8BE1

Accessibility & contrast

On white

8.15
#5332BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5332BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332BF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332BF#FFFFFF#000000##FFFFFF
##5332BF1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#1E5976
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5332bf;
/* rgb */ color: rgb(83, 50, 191);
/* oklch */ color: oklch(45.1% 0.205 285.5);
Tailwind
colors: {
  custom: {
    50: '#8f6ed3',
    500: '#5332bf',
    950: '#000000',
  },
}
SCSS
$custom: #5332bf;
$custom-light: #8f6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5332bf",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 254.043,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45104,
    "c": 0.20497,
    "h": 285.5
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#5332BF
secondary
#BACB82
accent
#E246BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5332BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5332BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva