#5536BB#5536BB

#5536BB is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.196 H 286.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5536BB
RGBrgb(85, 54, 187)
HSLhsl(254, 55%, 47%)
HSVhsv(254, 71%, 73%)
CMYKcmyk(54.5%, 71.1%, 0%, 26.7%)
CIE-LABlab(34.31, 47.42, -65.31)
CIE-LCHlch(34.31, 80.71, 305.98°)
OKLaboklab(45.45% 0.0553 -0.1878)
OKLCHoklch(45.45% 0.196 286.4)
XYZxyz(14.0324, 8.1567, 47.8391)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536BB #9CBB36
analogous
#3659BB #5536BB #9836BB
triadic
#5536BB #BB5536 #36BB55
tetradic
#5536BB #BB3659 #9CBB36 #36BB98
square
#5536BB #BB3659 #9CBB36 #36BB98
split-complementary
#5536BB #BB9836 #59BB36
monochromatic
#2A1B5C #3F288C #5536BB #785ED0 #A08DDE

Accessibility & contrast

On white

7.98
#5536BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5536BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536BB
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536BB#FFFFFF#000000##FFFFFF
##5536BB1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#295975
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5536bb;
/* rgb */ color: rgb(85, 54, 187);
/* oklch */ color: oklch(45.4% 0.196 286.4);
Tailwind
colors: {
  custom: {
    50: '#8f70d1',
    500: '#5536bb',
    950: '#000000',
  },
}
SCSS
$custom: #5536bb;
$custom-light: #8f70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5536bb",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 253.985,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.19578,
    "h": 286.4
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#5536BB
secondary
#B9C984
accent
#DF49BC
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5536BB

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

Preview Lab → · Contrast checker → · Palette generator →

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