#5536C5#5536C5

#5536C5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.4% C 0.208 H 284.8°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5536C5
RGBrgb(85, 54, 197)
HSLhsl(253, 57%, 49%)
HSVhsv(253, 73%, 77%)
CMYKcmyk(56.9%, 72.6%, 0%, 22.7%)
CIE-LABlab(35.20, 50.34, -69.71)
CIE-LCHlch(35.20, 85.99, 305.84°)
OKLaboklab(46.36% 0.0532 -0.2007)
OKLCHoklch(46.36% 0.208 284.8)
XYZxyz(15.1405, 8.5999, 53.6746)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536C5 #A6C536
analogous
#365FC5 #5536C5 #9D36C5
triadic
#5536C5 #C55536 #36C555
tetradic
#5536C5 #C5365F #A6C536 #36C59D
square
#5536C5 #C5365F #A6C536 #36C59D
split-complementary
#5536C5 #C59D36 #5FC536
monochromatic
#2C1C65 #402995 #5536C5 #7C64D4 #A594E2

Accessibility & contrast

On white

7.72
#5536C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5536C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536C5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536C5#FFFFFF#000000##FFFFFF
##5536C51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#1C5D7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5536c5;
/* rgb */ color: rgb(85, 54, 197);
/* oklch */ color: oklch(46.4% 0.208 284.8);
Tailwind
colors: {
  custom: {
    50: '#9170d8',
    500: '#5536c5',
    950: '#000000',
  },
}
SCSS
$custom: #5536c5;
$custom-light: #9170d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5536c5",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 253.007,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46355,
    "c": 0.20764,
    "h": 284.8
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#5536C5
secondary
#BECD8A
accent
#E048BF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5536C5

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

Preview Lab → · Contrast checker → · Palette generator →

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