#5536BF#5536BF

#5536BF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 45.8% C 0.201 H 285.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5536BF
RGBrgb(85, 54, 191)
HSLhsl(254, 56%, 48%)
HSVhsv(254, 72%, 75%)
CMYKcmyk(55.5%, 71.7%, 0%, 25.1%)
CIE-LABlab(34.66, 48.59, -67.08)
CIE-LCHlch(34.66, 82.83, 305.92°)
OKLaboklab(45.81% 0.0545 -0.193)
OKLCHoklch(45.81% 0.201 285.8)
XYZxyz(14.4666, 8.3304, 50.1257)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536BF #A0BF36
analogous
#365BBF #5536BF #9936BF
triadic
#5536BF #BF5536 #36BF55
tetradic
#5536BF #BF365B #A0BF36 #36BF99
square
#5536BF #BF365B #A0BF36 #36BF99
split-complementary
#5536BF #BF9936 #5BBF36
monochromatic
#2B1B60 #40298F #5536BF #7A60D2 #A290E0

Accessibility & contrast

On white

7.88
#5536BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5536BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536BF
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536BF#FFFFFF#000000##FFFFFF
##5536BF1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#255B77
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5536bf;
/* rgb */ color: rgb(85, 54, 191);
/* oklch */ color: oklch(45.8% 0.201 285.8);
Tailwind
colors: {
  custom: {
    50: '#9070d3',
    500: '#5536bf',
    950: '#000000',
  },
}
SCSS
$custom: #5536bf;
$custom-light: #9070d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5536bf",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 253.577,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45807,
    "c": 0.20055,
    "h": 285.8
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#5536BF
secondary
#BBCA87
accent
#DF49BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5536BF

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

Preview Lab → · Contrast checker → · Palette generator →

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