#5531AA#5531AA

#5531AA is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.181 H 290.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5531AA
RGBrgb(85, 49, 170)
HSLhsl(258, 55%, 43%)
HSVhsv(258, 71%, 67%)
CMYKcmyk(50%, 71.2%, 0%, 33.3%)
CIE-LABlab(31.87, 45.16, -59.18)
CIE-LCHlch(31.87, 74.44, 307.35°)
OKLaboklab(43.26% 0.0631 -0.1698)
OKLCHoklch(43.26% 0.181 290.4)
XYZxyz(12.0983, 7.0297, 38.7418)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531AA #86AA31
analogous
#314AAA #5531AA #9131AA
triadic
#5531AA #AA5531 #31AA55
tetradic
#5531AA #AA314A #86AA31 #31AA91
square
#5531AA #AA314A #86AA31 #31AA91
split-complementary
#5531AA #AA9131 #4AAA31
monochromatic
#25164B #3D237A #5531AA #724DCC #987CD9

Accessibility & contrast

On white

8.73
#5531AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5531AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5531AA#FFFFFF#000000##FFFFFF
##5531AA1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#38506A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5531aa;
/* rgb */ color: rgb(85, 49, 170);
/* oklch */ color: oklch(43.3% 0.181 290.4);
Tailwind
colors: {
  custom: {
    50: '#8d6cc4',
    500: '#5531aa',
    950: '#000000',
  },
}
SCSS
$custom: #5531aa;
$custom-light: #8d6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5531aa",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 257.851,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4326,
    "c": 0.18116,
    "h": 290.4
  },
  "luminance": 0.0703
}

Semantic roles & 50–950 ramp

primary
#5531AA
secondary
#ABC275
accent
#DF49B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5531AA

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

Preview Lab → · Contrast checker → · Palette generator →

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