#5536CC#5536CC

#5536CC is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.216 H 283.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5536CC
RGBrgb(85, 54, 204)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 74%, 80%)
CMYKcmyk(58.3%, 73.5%, 0%, 20%)
CIE-LABlab(35.85, 52.38, -72.73)
CIE-LCHlch(35.85, 89.63, 305.76°)
OKLaboklab(47.01% 0.0516 -0.2095)
OKLCHoklch(47.01% 0.216 283.8)
XYZxyz(15.9612, 8.9282, 57.9973)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536CC #ADCC36
analogous
#3662CC #5536CC #A036CC
triadic
#5536CC #CC5536 #36CC55
tetradic
#5536CC #CC3662 #ADCC36 #36CCA0
square
#5536CC #CC3662 #ADCC36 #36CCA0
split-complementary
#5536CC #CCA036 #62CC36
monochromatic
#2C1B6C #40289D #5536CC #7E67D8 #A898E5

Accessibility & contrast

On white

7.54
#5536CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5536CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536CC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536CC#FFFFFF#000000##FFFFFF
##5536CC1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D0
Deuteranopia (green-blind)
#004FC9
Tritanopia (blue-blind)
#0B607E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5536cc;
/* rgb */ color: rgb(85, 54, 204);
/* oklch */ color: oklch(47.0% 0.216 283.8);
Tailwind
colors: {
  custom: {
    50: '#9271dd',
    500: '#5536cc',
    950: '#000000',
  },
}
SCSS
$custom: #5536cc;
$custom-light: #9271dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5536cc",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 252.4,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47006,
    "c": 0.21581,
    "h": 283.8
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#5536CC
secondary
#C2D08E
accent
#E345C2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5536CC

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

Preview Lab → · Contrast checker → · Palette generator →

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