#5539BA#5539BA

#5539BA is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.191 H 286.1°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5539BA
RGBrgb(85, 57, 186)
HSLhsl(253, 53%, 48%)
HSVhsv(253, 69%, 73%)
CMYKcmyk(54.3%, 69.4%, 0%, 27.1%)
CIE-LABlab(34.81, 45.50, -63.90)
CIE-LCHlch(34.81, 78.45, 305.45°)
OKLaboklab(45.78% 0.0529 -0.1837)
OKLCHoklch(45.78% 0.191 286.1)
XYZxyz(14.0697, 8.4020, 47.3252)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5539BA #9EBA39
analogous
#395EBA #5539BA #9539BA
triadic
#5539BA #BA5539 #39BA55
tetradic
#5539BA #BA395E #9EBA39 #39BA95
square
#5539BA #BA395E #9EBA39 #39BA95
split-complementary
#5539BA #BA9539 #5EBA39
monochromatic
#2A1C5C #402B8B #5539BA #7961CF #A190DD

Accessibility & contrast

On white

7.83
#5539BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#5539BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5539BA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5539BA#FFFFFF#000000##FFFFFF
##5539BA1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#2A5B75
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5539ba;
/* rgb */ color: rgb(85, 57, 186);
/* oklch */ color: oklch(45.8% 0.191 286.1);
Tailwind
colors: {
  custom: {
    50: '#8f72d0',
    500: '#5539ba',
    950: '#000000',
  },
}
SCSS
$custom: #5539ba;
$custom-light: #8f72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5539ba",
  "rgb": {
    "r": 85,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 253.023,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.19116,
    "h": 286.1
  },
  "luminance": 0.08403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5539BA

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

Preview Lab → · Contrast checker → · Palette generator →

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