#5531BE#5531BE

#5531BE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.205 H 286.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#5531BE
RGBrgb(85, 49, 190)
HSLhsl(255, 59%, 47%)
HSVhsv(255, 74%, 75%)
CMYKcmyk(55.3%, 74.2%, 0%, 25.5%)
CIE-LABlab(33.66, 50.87, -68.14)
CIE-LCHlch(33.66, 85.03, 306.74°)
OKLaboklab(45.07% 0.0587 -0.1961)
OKLCHoklch(45.07% 0.205 286.7)
XYZxyz(14.1361, 7.8449, 49.4745)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5531BE #9ABE31
analogous
#3154BE #5531BE #9C31BE
triadic
#5531BE #BE5531 #31BE55
tetradic
#5531BE #BE3154 #9ABE31 #31BE9C
square
#5531BE #BE3154 #9ABE31 #31BE9C
split-complementary
#5531BE #BE9C31 #54BE31
monochromatic
#29185D #3F248D #5531BE #7858D4 #9F89E1

Accessibility & contrast

On white

8.17
#5531BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5531BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5531BE#FFFFFF#000000##FFFFFF
##5531BE1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#265875
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5531be;
/* rgb */ color: rgb(85, 49, 190);
/* oklch */ color: oklch(45.1% 0.205 286.7);
Tailwind
colors: {
  custom: {
    50: '#906dd3',
    500: '#5531be',
    950: '#000000',
  },
}
SCSS
$custom: #5531be;
$custom-light: #906dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5531be",
  "rgb": {
    "r": 85,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 255.319,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45069,
    "c": 0.20466,
    "h": 286.7
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#5531BE
secondary
#B8CA80
accent
#E246BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5531BE

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

Preview Lab → · Contrast checker → · Palette generator →

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