#5436B2#5436B2

#5436B2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.185 H 287.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5436B2
RGBrgb(84, 54, 178)
HSLhsl(255, 53%, 45%)
HSVhsv(255, 70%, 70%)
CMYKcmyk(52.8%, 69.7%, 0%, 30.2%)
CIE-LABlab(33.43, 44.62, -61.42)
CIE-LCHlch(33.43, 75.92, 306.00°)
OKLaboklab(44.56% 0.0556 -0.1764)
OKLCHoklch(44.56% 0.185 287.5)
XYZxyz(13.0088, 7.7369, 42.9188)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5436B2 #94B236
analogous
#3656B2 #5436B2 #9236B2
triadic
#5436B2 #B25436 #36B254
tetradic
#5436B2 #B23656 #94B236 #36B292
square
#5436B2 #B23656 #94B236 #36B292
split-complementary
#5436B2 #B29236 #56B236
monochromatic
#281A54 #3E2883 #5436B2 #7559CD #9C88DB

Accessibility & contrast

On white

8.24
#5436B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5436B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5436B2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5436B2#FFFFFF#000000##FFFFFF
##5436B21.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#2F5670
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5436b2;
/* rgb */ color: rgb(84, 54, 178);
/* oklch */ color: oklch(44.6% 0.185 287.5);
Tailwind
colors: {
  custom: {
    50: '#8d6fca',
    500: '#5436b2',
    950: '#000000',
  },
}
SCSS
$custom: #5436b2;
$custom-light: #8d6fca;
$custom-dark: #000000;
JSON
{
  "hex": "#5436b2",
  "rgb": {
    "r": 84,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 254.516,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44556,
    "c": 0.18498,
    "h": 287.5
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#5436B2
secondary
#B4C57F
accent
#DD4BBA
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5436B2

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

Preview Lab → · Contrast checker → · Palette generator →

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