#5434AC#5434AC

#5434AC is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.8% C 0.180 H 289.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#5434AC
RGBrgb(84, 52, 172)
HSLhsl(256, 54%, 44%)
HSVhsv(256, 70%, 67%)
CMYKcmyk(51.2%, 69.8%, 0%, 32.5%)
CIE-LABlab(32.52, 43.95, -59.32)
CIE-LCHlch(32.52, 73.83, 306.54°)
OKLaboklab(43.75% 0.0585 -0.1703)
OKLCHoklch(43.75% 0.18 289)
XYZxyz(12.3284, 7.3188, 39.7848)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5434AC #8CAC34
analogous
#3450AC #5434AC #9034AC
triadic
#5434AC #AC5434 #34AC54
tetradic
#5434AC #AC3450 #8CAC34 #34AC90
square
#5434AC #AC3450 #8CAC34 #34AC90
split-complementary
#5434AC #AC9034 #50AC34
monochromatic
#26184E #3D267D #5434AC #7352CB #9981D9

Accessibility & contrast

On white

8.52
#5434AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#5434AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5434AC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5434AC#FFFFFF#000000##FFFFFF
##5434AC1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#34536C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5434ac;
/* rgb */ color: rgb(84, 52, 172);
/* oklch */ color: oklch(43.8% 0.180 289.0);
Tailwind
colors: {
  custom: {
    50: '#8c6ec6',
    500: '#5434ac',
    950: '#000000',
  },
}
SCSS
$custom: #5434ac;
$custom-light: #8c6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5434ac",
  "rgb": {
    "r": 84,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 256,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4375,
    "c": 0.18004,
    "h": 289
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#5434AC
secondary
#AFC279
accent
#DD4BB6
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5434AC

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

Preview Lab → · Contrast checker → · Palette generator →

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