#5534AC#5534AC

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

Color values

HEX#5534AC
RGBrgb(85, 52, 172)
HSLhsl(257, 54%, 44%)
HSVhsv(257, 70%, 67%)
CMYKcmyk(50.6%, 69.8%, 0%, 32.5%)
CIE-LABlab(32.62, 44.13, -59.15)
CIE-LCHlch(32.62, 73.80, 306.72°)
OKLaboklab(43.85% 0.0599 -0.1697)
OKLCHoklch(43.85% 0.18 289.4)
XYZxyz(12.4185, 7.3653, 39.7890)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5534AC #8BAC34
analogous
#344FAC #5534AC #9134AC
triadic
#5534AC #AC5534 #34AC55
tetradic
#5534AC #AC344F #8BAC34 #34AC91
square
#5534AC #AC344F #8BAC34 #34AC91
split-complementary
#5534AC #AC9134 #4FAC34
monochromatic
#27184E #3E267D #5534AC #7452CB #9981D9

Accessibility & contrast

On white

8.49
#5534AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#5534AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5534AC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5534AC#FFFFFF#000000##FFFFFF
##5534AC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#37536C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5534ac;
/* rgb */ color: rgb(85, 52, 172);
/* oklch */ color: oklch(43.8% 0.180 289.4);
Tailwind
colors: {
  custom: {
    50: '#8d6ec6',
    500: '#5534ac',
    950: '#000000',
  },
}
SCSS
$custom: #5534ac;
$custom-light: #8d6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#5534ac",
  "rgb": {
    "r": 85,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 256.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43847,
    "c": 0.18001,
    "h": 289.4
  },
  "luminance": 0.07366
}

Semantic roles & 50–950 ramp

primary
#5534AC
secondary
#AEC279
accent
#DD4BB5
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5534AC

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

Preview Lab → · Contrast checker → · Palette generator →

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