#5332BC#5332BC

#5332BC is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.8% C 0.201 H 286.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5332BC
RGBrgb(83, 50, 188)
HSLhsl(254, 58%, 47%)
HSVhsv(254, 73%, 74%)
CMYKcmyk(55.9%, 73.4%, 0%, 26.3%)
CIE-LABlab(33.46, 49.50, -67.30)
CIE-LCHlch(33.46, 83.55, 306.34°)
OKLaboklab(44.83% 0.0554 -0.1937)
OKLCHoklch(44.83% 0.201 286)
XYZxyz(13.7823, 7.7503, 48.3369)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332BC #9BBC32
analogous
#3256BC #5332BC #9832BC
triadic
#5332BC #BC5332 #32BC53
tetradic
#5332BC #BC3256 #9BBC32 #32BC98
square
#5332BC #BC3256 #9BBC32 #32BC98
split-complementary
#5332BC #BC9832 #56BC32
monochromatic
#28185B #3E258C #5332BC #7658D3 #9E89E0

Accessibility & contrast

On white

8.23
#5332BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5332BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332BC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332BC#FFFFFF#000000##FFFFFF
##5332BC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#225874
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5332bc;
/* rgb */ color: rgb(83, 50, 188);
/* oklch */ color: oklch(44.8% 0.201 286.0);
Tailwind
colors: {
  custom: {
    50: '#8f6dd1',
    500: '#5332bc',
    950: '#000000',
  },
}
SCSS
$custom: #5332bc;
$custom-light: #8f6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5332bc",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 254.348,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44825,
    "c": 0.20147,
    "h": 286
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5332BC

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

Preview Lab → · Contrast checker → · Palette generator →

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