#5432BF#5432BF

#5432BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.205 H 285.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5432BF
RGBrgb(84, 50, 191)
HSLhsl(254, 59%, 47%)
HSVhsv(254, 74%, 75%)
CMYKcmyk(56%, 73.8%, 0%, 25.1%)
CIE-LABlab(33.83, 50.51, -68.45)
CIE-LCHlch(33.83, 85.07, 306.43°)
OKLaboklab(45.2% 0.0562 -0.197)
OKLCHoklch(45.2% 0.205 285.9)
XYZxyz(14.1979, 7.9268, 50.0620)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5432BF #9DBF32
analogous
#3257BF #5432BF #9A32BF
triadic
#5432BF #BF5432 #32BF54
tetradic
#5432BF #BF3257 #9DBF32 #32BF9A
square
#5432BF #BF3257 #9DBF32 #32BF9A
split-complementary
#5432BF #BF9A32 #57BF32
monochromatic
#29195E #3F258E #5432BF #785AD4 #9F8BE1

Accessibility & contrast

On white

8.12
#5432BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5432BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5432BF
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5432BF#FFFFFF#000000##FFFFFF
##5432BF1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#225976
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5432bf;
/* rgb */ color: rgb(84, 50, 191);
/* oklch */ color: oklch(45.2% 0.205 285.9);
Tailwind
colors: {
  custom: {
    50: '#906ed3',
    500: '#5432bf',
    950: '#000000',
  },
}
SCSS
$custom: #5432bf;
$custom-light: #906ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5432bf",
  "rgb": {
    "r": 84,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 254.468,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45195,
    "c": 0.20488,
    "h": 285.9
  },
  "luminance": 0.07928
}

Semantic roles & 50–950 ramp

primary
#5432BF
secondary
#B9CB82
accent
#E246BC
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5432BF

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

Preview Lab → · Contrast checker → · Palette generator →

#5432BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva