#5531BF#5531BF

#5531BF is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.206 H 286.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5531BF
RGBrgb(85, 49, 191)
HSLhsl(255, 59%, 47%)
HSVhsv(255, 74%, 75%)
CMYKcmyk(55.5%, 74.3%, 0%, 25.1%)
CIE-LABlab(33.75, 51.16, -68.58)
CIE-LCHlch(33.75, 85.56, 306.72°)
OKLaboklab(45.16% 0.0584 -0.1974)
OKLCHoklch(45.16% 0.206 286.5)
XYZxyz(14.2458, 7.8887, 50.0521)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531BF #9BBF31
analogous
#3154BF #5531BF #9C31BF
triadic
#5531BF #BF5531 #31BF55
tetradic
#5531BF #BF3154 #9BBF31 #31BF9C
square
#5531BF #BF3154 #9BBF31 #31BF9C
split-complementary
#5531BF #BF9C31 #54BF31
monochromatic
#2A185E #3F258E #5531BF #7859D4 #A08AE1

Accessibility & contrast

On white

8.15
#5531BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5531BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5531BF#FFFFFF#000000##FFFFFF
##5531BF1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#255876
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5531bf;
/* rgb */ color: rgb(85, 49, 191);
/* oklch */ color: oklch(45.2% 0.206 286.5);
Tailwind
colors: {
  custom: {
    50: '#906dd3',
    500: '#5531bf',
    950: '#000000',
  },
}
SCSS
$custom: #5531bf;
$custom-light: #906dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5531bf",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 191
  },
  "hsl": {
    "h": 255.211,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45162,
    "c": 0.20582,
    "h": 286.5
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#5531BF
secondary
#B8CB81
accent
#E245BB
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5531BF

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

Preview Lab → · Contrast checker → · Palette generator →

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