#5531AC#5531AC

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

Color values

HEX#5531AC
RGBrgb(85, 49, 172)
HSLhsl(258, 56%, 43%)
HSVhsv(258, 72%, 67%)
CMYKcmyk(50.6%, 71.5%, 0%, 32.5%)
CIE-LABlab(32.05, 45.73, -60.10)
CIE-LCHlch(32.05, 75.52, 307.27°)
OKLaboklab(43.44% 0.0627 -0.1725)
OKLCHoklch(43.44% 0.184 290)
XYZxyz(12.2889, 7.1060, 39.7458)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531AC #88AC31
analogous
#314AAC #5531AC #9231AC
triadic
#5531AC #AC5531 #31AC55
tetradic
#5531AC #AC314A #88AC31 #31AC92
square
#5531AC #AC314A #88AC31 #31AC92
split-complementary
#5531AC #AC9231 #4AAC31
monochromatic
#26164D #3D237C #5531AC #734ECC #987DDA

Accessibility & contrast

On white

8.67
#5531AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#5531AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5531AC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5531AC#FFFFFF#000000##FFFFFF
##5531AC1.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)
#004EB0
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#37516B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5531ac;
/* rgb */ color: rgb(85, 49, 172);
/* oklch */ color: oklch(43.4% 0.184 290.0);
Tailwind
colors: {
  custom: {
    50: '#8d6cc6',
    500: '#5531ac',
    950: '#000000',
  },
}
SCSS
$custom: #5531ac;
$custom-light: #8d6cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5531ac",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 257.561,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43436,
    "c": 0.18355,
    "h": 290
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#5531AC
secondary
#ACC376
accent
#DF49B3
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5531AC

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

Preview Lab → · Contrast checker → · Palette generator →

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