#5332BE#5332BE

#5332BE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.204 H 285.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#5332BE
RGBrgb(83, 50, 190)
HSLhsl(254, 58%, 47%)
HSVhsv(254, 74%, 75%)
CMYKcmyk(56.3%, 73.7%, 0%, 25.5%)
CIE-LABlab(33.64, 50.08, -68.18)
CIE-LCHlch(33.64, 84.59, 306.30°)
OKLaboklab(45.01% 0.055 -0.1962)
OKLCHoklch(45.01% 0.204 285.6)
XYZxyz(13.9993, 7.8371, 49.4803)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5332BE #9DBE32
analogous
#3257BE #5332BE #9932BE
triadic
#5332BE #BE5332 #32BE53
tetradic
#5332BE #BE3257 #9DBE32 #32BE99
square
#5332BE #BE3257 #9DBE32 #32BE99
split-complementary
#5332BE #BE9932 #57BE32
monochromatic
#29195D #3E258E #5332BE #765AD3 #9E8AE0

Accessibility & contrast

On white

8.18
#5332BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5332BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5332BE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5332BE#FFFFFF#000000##FFFFFF
##5332BE1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#205975
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5332be;
/* rgb */ color: rgb(83, 50, 190);
/* oklch */ color: oklch(45.0% 0.204 285.6);
Tailwind
colors: {
  custom: {
    50: '#8f6dd3',
    500: '#5332be',
    950: '#000000',
  },
}
SCSS
$custom: #5332be;
$custom-light: #8f6dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5332be",
  "rgb": {
    "r": 83,
    "g": 50,
    "b": 190
  },
  "hsl": {
    "h": 254.143,
    "s": 58.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45011,
    "c": 0.2038,
    "h": 285.6
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5332BE

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

Preview Lab → · Contrast checker → · Palette generator →

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