#5531BA#5531BA

#5531BA is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.200 H 287.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#5531BA
RGBrgb(85, 49, 186)
HSLhsl(256, 58%, 46%)
HSVhsv(256, 74%, 73%)
CMYKcmyk(54.3%, 73.7%, 0%, 27.1%)
CIE-LABlab(33.29, 49.73, -66.38)
CIE-LCHlch(33.29, 82.94, 306.84°)
OKLaboklab(44.7% 0.0596 -0.1909)
OKLCHoklch(44.7% 0.2 287.3)
XYZxyz(13.7049, 7.6724, 47.2036)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531BA #96BA31
analogous
#3152BA #5531BA #9931BA
triadic
#5531BA #BA5531 #31BA55
tetradic
#5531BA #BA3152 #96BA31 #31BA99
square
#5531BA #BA3152 #96BA31 #31BA99
split-complementary
#5531BA #BA9931 #52BA31
monochromatic
#291759 #3F248A #5531BA #7756D2 #9E86DF

Accessibility & contrast

On white

8.29
#5531BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5531BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5531BA#FFFFFF#000000##FFFFFF
##5531BA1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#2B5673
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5531ba;
/* rgb */ color: rgb(85, 49, 186);
/* oklch */ color: oklch(44.7% 0.200 287.3);
Tailwind
colors: {
  custom: {
    50: '#8f6dd0',
    500: '#5531ba',
    950: '#000000',
  },
}
SCSS
$custom: #5531ba;
$custom-light: #8f6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5531ba",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 255.766,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44699,
    "c": 0.20002,
    "h": 287.3
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

primary
#5531BA
secondary
#B5C97E
accent
#E246B9
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5531BA

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

Preview Lab → · Contrast checker → · Palette generator →

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