#5436BD#5436BD

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

Color values

HEX#5436BD
RGBrgb(84, 54, 189)
HSLhsl(253, 56%, 48%)
HSVhsv(253, 71%, 74%)
CMYKcmyk(55.6%, 71.4%, 0%, 25.9%)
CIE-LABlab(34.39, 47.85, -66.36)
CIE-LCHlch(34.39, 81.81, 305.80°)
OKLaboklab(45.54% 0.0535 -0.1909)
OKLCHoklch(45.54% 0.198 285.6)
XYZxyz(14.1579, 8.1965, 48.9703)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436BD #9FBD36
analogous
#365CBD #5436BD #9736BD
triadic
#5436BD #BD5436 #36BD54
tetradic
#5436BD #BD365C #9FBD36 #36BD97
square
#5436BD #BD365C #9FBD36 #36BD97
split-complementary
#5436BD #BD9736 #5CBD36
monochromatic
#2A1B5E #3F288D #5436BD #785FD1 #A08FDF

Accessibility & contrast

On white

7.96
#5436BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5436BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436BD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436BD#FFFFFF#000000##FFFFFF
##5436BD1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5436bd;
/* rgb */ color: rgb(84, 54, 189);
/* oklch */ color: oklch(45.5% 0.198 285.6);
Tailwind
colors: {
  custom: {
    50: '#8f70d2',
    500: '#5436bd',
    950: '#000000',
  },
}
SCSS
$custom: #5436bd;
$custom-light: #8f70d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5436bd",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 189
  },
  "hsl": {
    "h": 253.333,
    "s": 55.556,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45536,
    "c": 0.19826,
    "h": 285.6
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5436BD

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

Preview Lab → · Contrast checker → · Palette generator →

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