#5432AF#5432AF

#5432AF is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.186 H 288.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#5432AF
RGBrgb(84, 50, 175)
HSLhsl(256, 56%, 44%)
HSVhsv(256, 71%, 69%)
CMYKcmyk(52%, 71.4%, 0%, 31.4%)
CIE-LABlab(32.39, 45.90, -61.33)
CIE-LCHlch(32.39, 76.60, 306.81°)
OKLaboklab(43.74% 0.0597 -0.1761)
OKLCHoklch(43.74% 0.186 288.7)
XYZxyz(12.5324, 7.2606, 41.2902)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5432AF #8DAF32
analogous
#324FAF #5432AF #9332AF
triadic
#5432AF #AF5432 #32AF54
tetradic
#5432AF #AF324F #8DAF32 #32AF93
square
#5432AF #AF324F #8DAF32 #32AF93
split-complementary
#5432AF #AF9332 #4FAF32
monochromatic
#261750 #3D247F #5432AF #7351CD #9981DB

Accessibility & contrast

On white

8.56
#5432AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#5432AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5432AF
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5432AF#FFFFFF#000000##FFFFFF
##5432AF1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#32536D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5432af;
/* rgb */ color: rgb(84, 50, 175);
/* oklch */ color: oklch(43.7% 0.186 288.7);
Tailwind
colors: {
  custom: {
    50: '#8d6dc8',
    500: '#5432af',
    950: '#000000',
  },
}
SCSS
$custom: #5432af;
$custom-light: #8d6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5432af",
  "rgb": {
    "r": 84,
    "g": 50,
    "b": 175
  },
  "hsl": {
    "h": 256.32,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.186,
    "h": 288.7
  },
  "luminance": 0.07261
}

Semantic roles & 50–950 ramp

primary
#5432AF
secondary
#B0C479
accent
#DF49B6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5432AF

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

Preview Lab → · Contrast checker → · Palette generator →

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