#5332BB#5332BB

#5332BB is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.200 H 286.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5332BB
RGBrgb(83, 50, 187)
HSLhsl(254, 58%, 46%)
HSVhsv(254, 73%, 73%)
CMYKcmyk(55.6%, 73.3%, 0%, 26.7%)
CIE-LABlab(33.37, 49.21, -66.86)
CIE-LCHlch(33.37, 83.02, 306.36°)
OKLaboklab(44.73% 0.0557 -0.1924)
OKLCHoklch(44.73% 0.2 286.1)
XYZxyz(13.6748, 7.7073, 47.7712)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332BB #9ABB32
analogous
#3255BB #5332BB #9832BB
triadic
#5332BB #BB5332 #32BB53
tetradic
#5332BB #BB3255 #9ABB32 #32BB98
square
#5332BB #BB3255 #9ABB32 #32BB98
split-complementary
#5332BB #BB9832 #55BB32
monochromatic
#28185A #3E258B #5332BB #7558D2 #9D88DF

Accessibility & contrast

On white

8.26
#5332BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5332BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332BB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332BB#FFFFFF#000000##FFFFFF
##5332BB1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#245774
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5332bb;
/* rgb */ color: rgb(83, 50, 187);
/* oklch */ color: oklch(44.7% 0.200 286.1);
Tailwind
colors: {
  custom: {
    50: '#8e6dd1',
    500: '#5332bb',
    950: '#000000',
  },
}
SCSS
$custom: #5332bb;
$custom-light: #8e6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5332bb",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 254.453,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44732,
    "c": 0.20029,
    "h": 286.1
  },
  "luminance": 0.07708
}

Semantic roles & 50–950 ramp

primary
#5332BB
secondary
#B7C980
accent
#E147BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5332BB

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

Preview Lab → · Contrast checker → · Palette generator →

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