#5434AE#5434AE

#5434AE is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.182 H 288.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#5434AE
RGBrgb(84, 52, 174)
HSLhsl(256, 54%, 44%)
HSVhsv(256, 70%, 68%)
CMYKcmyk(51.7%, 70.1%, 0%, 31.8%)
CIE-LABlab(32.69, 44.54, -60.24)
CIE-LCHlch(32.69, 74.92, 306.48°)
OKLaboklab(43.92% 0.0581 -0.173)
OKLCHoklch(43.92% 0.182 288.6)
XYZxyz(12.5219, 7.3962, 40.8040)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434AE #8EAE34
analogous
#3451AE #5434AE #9134AE
triadic
#5434AE #AE5434 #34AE54
tetradic
#5434AE #AE3451 #8EAE34 #34AE91
square
#5434AE #AE3451 #8EAE34 #34AE91
split-complementary
#5434AE #AE9134 #51AE34
monochromatic
#271850 #3D267F #5434AE #7353CC #9983DA

Accessibility & contrast

On white

8.47
#5434AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#5434AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434AE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434AE#FFFFFF#000000##FFFFFF
##5434AE1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004AAC
Tritanopia (blue-blind)
#33536D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5434ae;
/* rgb */ color: rgb(84, 52, 174);
/* oklch */ color: oklch(43.9% 0.182 288.6);
Tailwind
colors: {
  custom: {
    50: '#8d6ec7',
    500: '#5434ae',
    950: '#000000',
  },
}
SCSS
$custom: #5434ae;
$custom-light: #8d6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5434ae",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 255.738,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43924,
    "c": 0.18247,
    "h": 288.6
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#5434AE
secondary
#B0C37B
accent
#DD4AB7
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5434AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5434AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva