#5531BC#5531BC

#5531BC is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.202 H 287.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#5531BC
RGBrgb(85, 49, 188)
HSLhsl(256, 59%, 46%)
HSVhsv(256, 74%, 74%)
CMYKcmyk(54.8%, 73.9%, 0%, 26.3%)
CIE-LABlab(33.47, 50.30, -67.26)
CIE-LCHlch(33.47, 83.99, 306.79°)
OKLaboklab(44.88% 0.0591 -0.1935)
OKLCHoklch(44.88% 0.202 287)
XYZxyz(13.9190, 7.7580, 48.3312)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531BC #98BC31
analogous
#3152BC #5531BC #9B31BC
triadic
#5531BC #BC5531 #31BC55
tetradic
#5531BC #BC3152 #98BC31 #31BC9B
square
#5531BC #BC3152 #98BC31 #31BC9B
split-complementary
#5531BC #BC9B31 #52BC31
monochromatic
#29185B #3F248B #5531BC #7757D3 #9E88E0

Accessibility & contrast

On white

8.23
#5531BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5531BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5531BC#FFFFFF#000000##FFFFFF
##5531BC1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004BB9
Tritanopia (blue-blind)
#295774
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5531bc;
/* rgb */ color: rgb(85, 49, 188);
/* oklch */ color: oklch(44.9% 0.202 287.0);
Tailwind
colors: {
  custom: {
    50: '#906dd1',
    500: '#5531bc',
    950: '#000000',
  },
}
SCSS
$custom: #5531bc;
$custom-light: #906dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5531bc",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 255.54,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.20235,
    "h": 287
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#5531BC
secondary
#B6CA7F
accent
#E246B9
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5531BC

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

Preview Lab → · Contrast checker → · Palette generator →

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