#5436CC#5436CC

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

Color values

HEX#5436CC
RGBrgb(84, 54, 204)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 74%, 80%)
CMYKcmyk(58.8%, 73.5%, 0%, 20%)
CIE-LABlab(35.76, 52.25, -72.89)
CIE-LCHlch(35.76, 89.68, 305.64°)
OKLaboklab(46.92% 0.0502 -0.21)
OKLCHoklch(46.92% 0.216 283.4)
XYZxyz(15.8710, 8.8817, 57.9931)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436CC #AECC36
analogous
#3663CC #5436CC #9F36CC
triadic
#5436CC #CC5436 #36CC54
tetradic
#5436CC #CC3663 #AECC36 #36CC9F
square
#5436CC #CC3663 #AECC36 #36CC9F
split-complementary
#5436CC #CC9F36 #63CC36
monochromatic
#2C1B6C #3F289D #5436CC #7E67D8 #A798E5

Accessibility & contrast

On white

7.56
#5436CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#5436CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436CC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436CC#FFFFFF#000000##FFFFFF
##5436CC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5436cc;
/* rgb */ color: rgb(84, 54, 204);
/* oklch */ color: oklch(46.9% 0.216 283.4);
Tailwind
colors: {
  custom: {
    50: '#9170dd',
    500: '#5436cc',
    950: '#000000',
  },
}
SCSS
$custom: #5436cc;
$custom-light: #9170dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5436cc",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 252,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.4692,
    "c": 0.21595,
    "h": 283.4
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#5436CC
secondary
#C3D08E
accent
#E345C3
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5436CC

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

Preview Lab → · Contrast checker → · Palette generator →

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