#5436C5#5436C5

#5436C5 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.3% C 0.208 H 284.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5436C5
RGBrgb(84, 54, 197)
HSLhsl(253, 57%, 49%)
HSVhsv(253, 73%, 77%)
CMYKcmyk(57.4%, 72.6%, 0%, 22.7%)
CIE-LABlab(35.11, 50.20, -69.87)
CIE-LCHlch(35.11, 86.03, 305.70°)
OKLaboklab(46.27% 0.0518 -0.2012)
OKLCHoklch(46.27% 0.208 284.4)
XYZxyz(15.0503, 8.5534, 53.6704)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436C5 #A7C536
analogous
#3660C5 #5436C5 #9B36C5
triadic
#5436C5 #C55436 #36C554
tetradic
#5436C5 #C53660 #A7C536 #36C59B
square
#5436C5 #C53660 #A7C536 #36C59B
split-complementary
#5436C5 #C59B36 #60C536
monochromatic
#2B1C65 #402995 #5436C5 #7B64D4 #A494E2

Accessibility & contrast

On white

7.75
#5436C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#5436C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436C5
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436C5#FFFFFF#000000##FFFFFF
##5436C51.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#004EC2
Tritanopia (blue-blind)
#175D7A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5436c5;
/* rgb */ color: rgb(84, 54, 197);
/* oklch */ color: oklch(46.3% 0.208 284.4);
Tailwind
colors: {
  custom: {
    50: '#9070d8',
    500: '#5436c5',
    950: '#000000',
  },
}
SCSS
$custom: #5436c5;
$custom-light: #9070d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5436c5",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 252.587,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.20775,
    "h": 284.4
  },
  "luminance": 0.08554
}

Semantic roles & 50–950 ramp

primary
#5436C5
secondary
#BFCD8A
accent
#E048C0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5436C5

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

Preview Lab → · Contrast checker → · Palette generator →

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