#5536BC#5536BC

#5536BC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.5% C 0.197 H 286.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5536BC
RGBrgb(85, 54, 188)
HSLhsl(254, 55%, 47%)
HSVhsv(254, 71%, 74%)
CMYKcmyk(54.8%, 71.3%, 0%, 26.3%)
CIE-LABlab(34.40, 47.71, -65.75)
CIE-LCHlch(34.40, 81.24, 305.97°)
OKLaboklab(45.54% 0.0551 -0.1891)
OKLCHoklch(45.54% 0.197 286.2)
XYZxyz(14.1399, 8.1997, 48.4048)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536BC #9DBC36
analogous
#365ABC #5536BC #9836BC
triadic
#5536BC #BC5536 #36BC55
tetradic
#5536BC #BC365A #9DBC36 #36BC98
square
#5536BC #BC365A #9DBC36 #36BC98
split-complementary
#5536BC #BC9836 #5ABC36
monochromatic
#2A1B5D #40288C #5536BC #795ED1 #A18EDF

Accessibility & contrast

On white

7.95
#5536BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5536BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536BC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536BC#FFFFFF#000000##FFFFFF
##5536BC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#285A75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5536bc;
/* rgb */ color: rgb(85, 54, 188);
/* oklch */ color: oklch(45.5% 0.197 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f70d1',
    500: '#5536bc',
    950: '#000000',
  },
}
SCSS
$custom: #5536bc;
$custom-light: #8f70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5536bc",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 253.881,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45536,
    "c": 0.19697,
    "h": 286.2
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#5536BC
secondary
#B9C985
accent
#DF49BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5536BC

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

Preview Lab → · Contrast checker → · Palette generator →

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