#5339BF#5339BF

#5339BF is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.197 H 284.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5339BF
RGBrgb(83, 57, 191)
HSLhsl(252, 54%, 49%)
HSVhsv(252, 70%, 75%)
CMYKcmyk(56.5%, 70.2%, 0%, 25.1%)
CIE-LABlab(35.06, 46.68, -66.44)
CIE-LCHlch(35.06, 81.20, 305.09°)
OKLaboklab(46.04% 0.0492 -0.1912)
OKLCHoklch(46.04% 0.197 284.4)
XYZxyz(14.4315, 8.5260, 50.1653)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5339BF #A5BF39
analogous
#3962BF #5339BF #9639BF
triadic
#5339BF #BF5339 #39BF53
tetradic
#5339BF #BF3962 #A5BF39 #39BF96
square
#5339BF #BF3962 #A5BF39 #39BF96
split-complementary
#5339BF #BF9639 #62BF39
monochromatic
#2A1D61 #3F2B90 #5339BF #7964D1 #A293DF

Accessibility & contrast

On white

7.76
#5339BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5339BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5339BF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5339BF#FFFFFF#000000##FFFFFF
##5339BF1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#1D5C78
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5339bf;
/* rgb */ color: rgb(83, 57, 191);
/* oklch */ color: oklch(46.0% 0.197 284.4);
Tailwind
colors: {
  custom: {
    50: '#8e72d3',
    500: '#5339bf',
    950: '#000000',
  },
}
SCSS
$custom: #5339bf;
$custom-light: #8e72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5339bf",
  "rgb": {
    "r": 83,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 251.642,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46042,
    "c": 0.19744,
    "h": 284.4
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#5339BF
secondary
#BECA8A
accent
#DD4AC1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #5339BF

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

Preview Lab → · Contrast checker → · Palette generator →

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