#5432AC#5432AC

#5432AC is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.182 H 289.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#5432AC
RGBrgb(84, 50, 172)
HSLhsl(257, 55%, 44%)
HSVhsv(257, 71%, 67%)
CMYKcmyk(51.2%, 70.9%, 0%, 32.5%)
CIE-LABlab(32.13, 45.03, -59.96)
CIE-LCHlch(32.13, 74.99, 306.91°)
OKLaboklab(43.47% 0.0603 -0.1721)
OKLCHoklch(43.47% 0.182 289.3)
XYZxyz(12.2410, 7.1440, 39.7557)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5432AC #8AAC32
analogous
#324DAC #5432AC #9132AC
triadic
#5432AC #AC5432 #32AC54
tetradic
#5432AC #AC324D #8AAC32 #32AC91
square
#5432AC #AC324D #8AAC32 #32AC91
split-complementary
#5432AC #AC9132 #4DAC32
monochromatic
#26164D #3D247D #5432AC #724FCC #987FDA

Accessibility & contrast

On white

8.65
#5432AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5432AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5432AC
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5432AC#FFFFFF#000000##FFFFFF
##5432AC1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#35526B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5432ac;
/* rgb */ color: rgb(84, 50, 172);
/* oklch */ color: oklch(43.5% 0.182 289.3);
Tailwind
colors: {
  custom: {
    50: '#8d6dc6',
    500: '#5432ac',
    950: '#000000',
  },
}
SCSS
$custom: #5432ac;
$custom-light: #8d6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5432ac",
  "rgb": {
    "r": 84,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 256.721,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.18241,
    "h": 289.3
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#5432AC
secondary
#AEC377
accent
#DE4AB5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5432AC

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

Preview Lab → · Contrast checker → · Palette generator →

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