#5536BE#5536BE

#5536BE is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.7% C 0.199 H 285.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5536BE
RGBrgb(85, 54, 190)
HSLhsl(254, 56%, 48%)
HSVhsv(254, 72%, 75%)
CMYKcmyk(55.3%, 71.6%, 0%, 25.5%)
CIE-LABlab(34.57, 48.30, -66.64)
CIE-LCHlch(34.57, 82.30, 305.93°)
OKLaboklab(45.72% 0.0547 -0.1917)
OKLCHoklch(45.72% 0.199 285.9)
XYZxyz(14.3569, 8.2865, 49.5482)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536BE #9FBE36
analogous
#365BBE #5536BE #9936BE
triadic
#5536BE #BE5536 #36BE55
tetradic
#5536BE #BE365B #9FBE36 #36BE99
square
#5536BE #BE365B #9FBE36 #36BE99
split-complementary
#5536BE #BE9936 #5BBE36
monochromatic
#2A1B5F #40288E #5536BE #7A60D2 #A18FDF

Accessibility & contrast

On white

7.90
#5536BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5536BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536BE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536BE#FFFFFF#000000##FFFFFF
##5536BE1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#004DBB
Tritanopia (blue-blind)
#265A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5536be;
/* rgb */ color: rgb(85, 54, 190);
/* oklch */ color: oklch(45.7% 0.199 285.9);
Tailwind
colors: {
  custom: {
    50: '#9070d3',
    500: '#5536be',
    950: '#000000',
  },
}
SCSS
$custom: #5536be;
$custom-light: #9070d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5536be",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 253.676,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.19936,
    "h": 285.9
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5536BE

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

Preview Lab → · Contrast checker → · Palette generator →

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