#5332B8#5332B8

#5332B8 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.197 H 286.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5332B8
RGBrgb(83, 50, 184)
HSLhsl(255, 57%, 46%)
HSVhsv(255, 73%, 72%)
CMYKcmyk(54.9%, 72.8%, 0%, 27.8%)
CIE-LABlab(33.09, 48.35, -65.53)
CIE-LCHlch(33.09, 81.44, 306.42°)
OKLaboklab(44.46% 0.0564 -0.1885)
OKLCHoklch(44.46% 0.197 286.6)
XYZxyz(13.3570, 7.5802, 46.0974)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332B8 #97B832
analogous
#3254B8 #5332B8 #9632B8
triadic
#5332B8 #B85332 #32B853
tetradic
#5332B8 #B83254 #97B832 #32B896
square
#5332B8 #B83254 #97B832 #32B896
split-complementary
#5332B8 #B89632 #54B832
monochromatic
#281858 #3D2588 #5332B8 #7456D1 #9C86DE

Accessibility & contrast

On white

8.35
#5332B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5332B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332B8
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332B8#FFFFFF#000000##FFFFFF
##5332B81.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#275672
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5332b8;
/* rgb */ color: rgb(83, 50, 184);
/* oklch */ color: oklch(44.5% 0.197 286.6);
Tailwind
colors: {
  custom: {
    50: '#8e6dce',
    500: '#5332b8',
    950: '#000000',
  },
}
SCSS
$custom: #5332b8;
$custom-light: #8e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#5332b8",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 254.776,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.19676,
    "h": 286.6
  },
  "luminance": 0.07581
}

Semantic roles & 50–950 ramp

primary
#5332B8
secondary
#B6C87E
accent
#E147BB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #5332B8

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

Preview Lab → · Contrast checker → · Palette generator →

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