#5436C3#5436C3

#5436C3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.1% C 0.205 H 284.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5436C3
RGBrgb(84, 54, 195)
HSLhsl(253, 57%, 49%)
HSVhsv(253, 72%, 76%)
CMYKcmyk(56.9%, 72.3%, 0%, 23.5%)
CIE-LABlab(34.93, 49.62, -69.00)
CIE-LCHlch(34.93, 84.98, 305.72°)
OKLaboklab(46.08% 0.0522 -0.1986)
OKLCHoklch(46.08% 0.205 284.7)
XYZxyz(14.8227, 8.4624, 52.4715)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436C3 #A5C336
analogous
#365FC3 #5436C3 #9B36C3
triadic
#5436C3 #C35436 #36C354
tetradic
#5436C3 #C3365F #A5C336 #36C39B
square
#5436C3 #C3365F #A5C336 #36C39B
split-complementary
#5436C3 #C39B36 #5FC336
monochromatic
#2B1B63 #3F2993 #5436C3 #7B63D4 #A392E1

Accessibility & contrast

On white

7.80
#5436C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5436C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436C3
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436C3#FFFFFF#000000##FFFFFF
##5436C31.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#1B5C79
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5436c3;
/* rgb */ color: rgb(84, 54, 195);
/* oklch */ color: oklch(46.1% 0.205 284.7);
Tailwind
colors: {
  custom: {
    50: '#9070d6',
    500: '#5436c3',
    950: '#000000',
  },
}
SCSS
$custom: #5436c3;
$custom-light: #9070d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5436c3",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 195
  },
  "hsl": {
    "h": 252.766,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.20539,
    "h": 284.7
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#5436C3
secondary
#BECC89
accent
#E048C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5436C3

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

Preview Lab → · Contrast checker → · Palette generator →

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