#5436CD#5436CD

#5436CD is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.217 H 283.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5436CD
RGBrgb(84, 54, 205)
HSLhsl(252, 60%, 51%)
HSVhsv(252, 74%, 80%)
CMYKcmyk(59%, 73.7%, 0%, 19.6%)
CIE-LABlab(35.85, 52.54, -73.31)
CIE-LCHlch(35.85, 90.20, 305.63°)
OKLaboklab(47.01% 0.05 -0.2113)
OKLCHoklch(47.01% 0.217 283.3)
XYZxyz(15.9914, 8.9299, 58.6267)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436CD #AFCD36
analogous
#3663CD #5436CD #A036CD
triadic
#5436CD #CD5436 #36CD54
tetradic
#5436CD #CD3663 #AFCD36 #36CDA0
square
#5436CD #CD3663 #AFCD36 #36CDA0
split-complementary
#5436CD #CDA036 #63CD36
monochromatic
#2C1B6D #3F279E #5436CD #7E67D9 #A798E5

Accessibility & contrast

On white

7.54
#5436CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5436CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436CD
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436CD#FFFFFF#000000##FFFFFF
##5436CD1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#00607F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5436cd;
/* rgb */ color: rgb(84, 54, 205);
/* oklch */ color: oklch(47.0% 0.217 283.3);
Tailwind
colors: {
  custom: {
    50: '#9271de',
    500: '#5436cd',
    950: '#000000',
  },
}
SCSS
$custom: #5436cd;
$custom-light: #9271de;
$custom-dark: #000000;
JSON
{
  "hex": "#5436cd",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 251.921,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47014,
    "c": 0.21711,
    "h": 283.3
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#5436CD
secondary
#C4D18E
accent
#E344C4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5436CD

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

Preview Lab → · Contrast checker → · Palette generator →

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