#5536BA#5536BA

#5536BA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.195 H 286.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5536BA
RGBrgb(85, 54, 186)
HSLhsl(254, 55%, 47%)
HSVhsv(254, 71%, 73%)
CMYKcmyk(54.3%, 71%, 0%, 27.1%)
CIE-LABlab(34.22, 47.13, -64.86)
CIE-LCHlch(34.22, 80.18, 306.00°)
OKLaboklab(45.36% 0.0555 -0.1865)
OKLCHoklch(45.36% 0.195 286.6)
XYZxyz(13.9258, 8.1141, 47.2772)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536BA #9BBA36
analogous
#3659BA #5536BA #9736BA
triadic
#5536BA #BA5536 #36BA55
tetradic
#5536BA #BA3659 #9BBA36 #36BA97
square
#5536BA #BA3659 #9BBA36 #36BA97
split-complementary
#5536BA #BA9736 #59BA36
monochromatic
#2A1A5B #3F288B #5536BA #785DD0 #A08DDE

Accessibility & contrast

On white

8.01
#5536BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5536BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536BA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536BA#FFFFFF#000000##FFFFFF
##5536BA1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#2A5974
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5536ba;
/* rgb */ color: rgb(85, 54, 186);
/* oklch */ color: oklch(45.4% 0.195 286.6);
Tailwind
colors: {
  custom: {
    50: '#8f70d0',
    500: '#5536ba',
    950: '#000000',
  },
}
SCSS
$custom: #5536ba;
$custom-light: #8f70d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5536ba",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 254.091,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.19458,
    "h": 286.6
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#5536BA
secondary
#B8C884
accent
#DE49BB
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0D0814
muted
#7E7B82

Preview Lab

Preview with #5536BA

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

Preview Lab → · Contrast checker → · Palette generator →

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