#5539B9#5539B9

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

Color values

HEX#5539B9
RGBrgb(85, 57, 185)
HSLhsl(253, 53%, 47%)
HSVhsv(253, 69%, 73%)
CMYKcmyk(54.1%, 69.2%, 0%, 27.5%)
CIE-LABlab(34.72, 45.21, -63.45)
CIE-LCHlch(34.72, 77.91, 305.47°)
OKLaboklab(45.69% 0.0531 -0.1824)
OKLCHoklch(45.69% 0.19 286.2)
XYZxyz(13.9638, 8.3596, 46.7673)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539B9 #9DB939
analogous
#395DB9 #5539B9 #9539B9
triadic
#5539B9 #B95539 #39B955
tetradic
#5539B9 #B9395D #9DB939 #39B995
square
#5539B9 #B9395D #9DB939 #39B995
split-complementary
#5539B9 #B99539 #5DB939
monochromatic
#2A1C5B #402B8A #5539B9 #7961CE #A190DD

Accessibility & contrast

On white

7.86
#5539B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5539B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539B9
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539B9#FFFFFF#000000##FFFFFF
##5539B91.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)
#0055BD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#2B5A74
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5539b9;
/* rgb */ color: rgb(85, 57, 185);
/* oklch */ color: oklch(45.7% 0.190 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f72cf',
    500: '#5539b9',
    950: '#000000',
  },
}
SCSS
$custom: #5539b9;
$custom-light: #8f72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5539b9",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 253.125,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.18993,
    "h": 286.2
  },
  "luminance": 0.0836
}

Semantic roles & 50–950 ramp

primary
#5539B9
secondary
#B9C886
accent
#DC4BBD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5539B9

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

Preview Lab → · Contrast checker → · Palette generator →

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