#5432AB#5432AB

#5432AB is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.181 H 289.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#5432AB
RGBrgb(84, 50, 171)
HSLhsl(257, 55%, 43%)
HSVhsv(257, 71%, 67%)
CMYKcmyk(50.9%, 70.8%, 0%, 32.9%)
CIE-LABlab(32.05, 44.74, -59.50)
CIE-LCHlch(32.05, 74.45, 306.94°)
OKLaboklab(43.38% 0.0605 -0.1708)
OKLCHoklch(43.38% 0.181 289.5)
XYZxyz(12.1453, 7.1058, 39.2518)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5432AB #89AB32
analogous
#324CAB #5432AB #9032AB
triadic
#5432AB #AB5432 #32AB54
tetradic
#5432AB #AB324C #89AB32 #32AB90
square
#5432AB #AB324C #89AB32 #32AB90
split-complementary
#5432AB #AB9032 #4CAB32
monochromatic
#25164C #3D247C #5432AB #724FCB #987ED9

Accessibility & contrast

On white

8.67
#5432AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5432AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5432AB
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5432AB#FFFFFF#000000##FFFFFF
##5432AB1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#35516B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5432ab;
/* rgb */ color: rgb(84, 50, 171);
/* oklch */ color: oklch(43.4% 0.181 289.5);
Tailwind
colors: {
  custom: {
    50: '#8d6dc5',
    500: '#5432ab',
    950: '#000000',
  },
}
SCSS
$custom: #5432ab;
$custom-light: #8d6dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5432ab",
  "rgb": {
    "r": 84,
    "g": 50,
    "b": 171
  },
  "hsl": {
    "h": 256.86,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43384,
    "c": 0.18121,
    "h": 289.5
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#5432AB
secondary
#ADC277
accent
#DE4AB4
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5432AB

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

Preview Lab → · Contrast checker → · Palette generator →

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