#5539BF#5539BF

#5539BF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.197 H 285.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5539BF
RGBrgb(85, 57, 191)
HSLhsl(253, 54%, 49%)
HSVhsv(253, 70%, 75%)
CMYKcmyk(55.5%, 70.2%, 0%, 25.1%)
CIE-LABlab(35.24, 46.99, -66.14)
CIE-LCHlch(35.24, 81.13, 305.39°)
OKLaboklab(46.22% 0.052 -0.1902)
OKLCHoklch(46.22% 0.197 285.3)
XYZxyz(14.6106, 8.6183, 50.1737)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539BF #A3BF39
analogous
#3960BF #5539BF #9839BF
triadic
#5539BF #BF5539 #39BF55
tetradic
#5539BF #BF3960 #A3BF39 #39BF98
square
#5539BF #BF3960 #A3BF39 #39BF98
split-complementary
#5539BF #BF9839 #60BF39
monochromatic
#2B1D61 #402B90 #5539BF #7B64D1 #A393DF

Accessibility & contrast

On white

7.71
#5539BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5539BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539BF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539BF#FFFFFF#000000##FFFFFF
##5539BF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#245C78
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5539bf;
/* rgb */ color: rgb(85, 57, 191);
/* oklch */ color: oklch(46.2% 0.197 285.3);
Tailwind
colors: {
  custom: {
    50: '#9072d3',
    500: '#5539bf',
    950: '#000000',
  },
}
SCSS
$custom: #5539bf;
$custom-light: #9072d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5539bf",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 252.537,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.19723,
    "h": 285.3
  },
  "luminance": 0.08619
}

Semantic roles & 50–950 ramp

primary
#5539BF
secondary
#BDCA8A
accent
#DD4ABF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5539BF

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

Preview Lab → · Contrast checker → · Palette generator →

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