#5436BC#5436BC

#5436BC is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.4% C 0.197 H 285.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5436BC
RGBrgb(84, 54, 188)
HSLhsl(253, 55%, 47%)
HSVhsv(253, 71%, 74%)
CMYKcmyk(55.3%, 71.3%, 0%, 26.3%)
CIE-LABlab(34.30, 47.56, -65.91)
CIE-LCHlch(34.30, 81.28, 305.81°)
OKLaboklab(45.45% 0.0537 -0.1896)
OKLCHoklch(45.45% 0.197 285.8)
XYZxyz(14.0497, 8.1532, 48.4006)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436BC #9EBC36
analogous
#365BBC #5436BC #9736BC
triadic
#5436BC #BC5436 #36BC54
tetradic
#5436BC #BC365B #9EBC36 #36BC97
square
#5436BC #BC365B #9EBC36 #36BC97
split-complementary
#5436BC #BC9736 #5BBC36
monochromatic
#2A1B5D #3F288C #5436BC #785ED1 #A08EDF

Accessibility & contrast

On white

7.98
#5436BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5436BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436BC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436BC#FFFFFF#000000##FFFFFF
##5436BC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#255A75
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5436bc;
/* rgb */ color: rgb(84, 54, 188);
/* oklch */ color: oklch(45.4% 0.197 285.8);
Tailwind
colors: {
  custom: {
    50: '#8f70d1',
    500: '#5436bc',
    950: '#000000',
  },
}
SCSS
$custom: #5436bc;
$custom-light: #8f70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5436bc",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 253.433,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45445,
    "c": 0.19706,
    "h": 285.8
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#5436BC
secondary
#BAC985
accent
#DF49BD
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5436BC

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

Preview Lab → · Contrast checker → · Palette generator →

#5436BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva