#5539BB#5539BB

#5539BB is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.192 H 285.9°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5539BB
RGBrgb(85, 57, 187)
HSLhsl(253, 53%, 48%)
HSVhsv(253, 70%, 73%)
CMYKcmyk(54.5%, 69.5%, 0%, 26.7%)
CIE-LABlab(34.89, 45.80, -64.35)
CIE-LCHlch(34.89, 78.98, 305.44°)
OKLaboklab(45.86% 0.0527 -0.185)
OKLCHoklch(45.86% 0.192 285.9)
XYZxyz(14.1764, 8.4446, 47.8871)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539BB #9FBB39
analogous
#395EBB #5539BB #9639BB
triadic
#5539BB #BB5539 #39BB55
tetradic
#5539BB #BB395E #9FBB39 #39BB96
square
#5539BB #BB395E #9FBB39 #39BB96
split-complementary
#5539BB #BB9639 #5EBB39
monochromatic
#2A1C5D #402B8C #5539BB #7A62CF #A191DD

Accessibility & contrast

On white

7.81
#5539BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5539BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539BB
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539BB#FFFFFF#000000##FFFFFF
##5539BB1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5539bb;
/* rgb */ color: rgb(85, 57, 187);
/* oklch */ color: oklch(45.9% 0.192 285.9);
Tailwind
colors: {
  custom: {
    50: '#8f72d0',
    500: '#5539bb',
    950: '#000000',
  },
}
SCSS
$custom: #5539bb;
$custom-light: #8f72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5539bb",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 252.923,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45864,
    "c": 0.19237,
    "h": 285.9
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#5539BB
secondary
#BAC887
accent
#DD4BBD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5539BB

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

Preview Lab → · Contrast checker → · Palette generator →

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