#5339BB#5339BB

#5339BB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.7% C 0.193 H 285.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5339BB
RGBrgb(83, 57, 187)
HSLhsl(252, 53%, 48%)
HSVhsv(252, 70%, 73%)
CMYKcmyk(55.6%, 69.5%, 0%, 26.7%)
CIE-LABlab(34.71, 45.48, -64.66)
CIE-LCHlch(34.71, 79.06, 305.12°)
OKLaboklab(45.68% 0.0499 -0.186)
OKLCHoklch(45.68% 0.193 285)
XYZxyz(13.9973, 8.3523, 47.8787)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339BB #A1BB39
analogous
#3960BB #5339BB #9439BB
triadic
#5339BB #BB5339 #39BB53
tetradic
#5339BB #BB3960 #A1BB39 #39BB94
square
#5339BB #BB3960 #A1BB39 #39BB94
split-complementary
#5339BB #BB9439 #60BB39
monochromatic
#291C5D #3E2B8C #5339BB #7862CF #A091DD

Accessibility & contrast

On white

7.86
#5339BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5339BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339BB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339BB#FFFFFF#000000##FFFFFF
##5339BB1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#235B76
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5339bb;
/* rgb */ color: rgb(83, 57, 187);
/* oklch */ color: oklch(45.7% 0.193 285.0);
Tailwind
colors: {
  custom: {
    50: '#8e72d1',
    500: '#5339bb',
    950: '#000000',
  },
}
SCSS
$custom: #5339bb;
$custom-light: #8e72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5339bb",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 252,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45685,
    "c": 0.19257,
    "h": 285
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#5339BB
secondary
#BBC887
accent
#DD4BC0
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5339BB

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

Preview Lab → · Contrast checker → · Palette generator →

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