#5536BD#5536BD

#5536BD is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.198 H 286.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5536BD
RGBrgb(85, 54, 189)
HSLhsl(254, 56%, 48%)
HSVhsv(254, 71%, 74%)
CMYKcmyk(55%, 71.4%, 0%, 25.9%)
CIE-LABlab(34.48, 48.01, -66.20)
CIE-LCHlch(34.48, 81.77, 305.95°)
OKLaboklab(45.63% 0.0549 -0.1904)
OKLCHoklch(45.63% 0.198 286.1)
XYZxyz(14.2480, 8.2430, 48.9745)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5536BD #9EBD36
analogous
#365ABD #5536BD #9936BD
triadic
#5536BD #BD5536 #36BD55
tetradic
#5536BD #BD365A #9EBD36 #36BD99
square
#5536BD #BD365A #9EBD36 #36BD99
split-complementary
#5536BD #BD9936 #5ABD36
monochromatic
#2A1B5E #40288D #5536BD #795FD1 #A18FDF

Accessibility & contrast

On white

7.93
#5536BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5536BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5536BD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5536BD#FFFFFF#000000##FFFFFF
##5536BD1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#275A76
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5536bd;
/* rgb */ color: rgb(85, 54, 189);
/* oklch */ color: oklch(45.6% 0.198 286.1);
Tailwind
colors: {
  custom: {
    50: '#8f70d2',
    500: '#5536bd',
    950: '#000000',
  },
}
SCSS
$custom: #5536bd;
$custom-light: #8f70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5536bd",
  "rgb": {
    "r": 85,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 253.778,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.19817,
    "h": 286.1
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#5536BD
secondary
#BAC985
accent
#DF49BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5536BD

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

Preview Lab → · Contrast checker → · Palette generator →

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