#5641BB#5641BB

#5641BB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.1% C 0.183 H 284.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5641BB
RGBrgb(86, 65, 187)
HSLhsl(250, 48%, 49%)
HSVhsv(250, 65%, 73%)
CMYKcmyk(54%, 65.2%, 0%, 26.7%)
CIE-LABlab(36.64, 41.45, -61.49)
CIE-LCHlch(36.64, 74.15, 303.99°)
OKLaboklab(47.15% 0.0468 -0.1766)
OKLCHoklch(47.15% 0.183 284.8)
XYZxyz(14.6950, 9.3461, 48.0337)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641BB #A6BB41
analogous
#4169BB #5641BB #9341BB
triadic
#5641BB #BB5641 #41BB56
tetradic
#5641BB #BB4169 #A6BB41 #41BB93
square
#5641BB #BB4169 #A6BB41 #41BB93
split-complementary
#5641BB #BB9341 #69BB41
monochromatic
#2C2160 #41318E #5641BB #7D6DCC #A69ADC

Accessibility & contrast

On white

7.32
#5641BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5641BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5641BB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641BB#FFFFFF#000000##FFFFFF
##5641BB1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#2B5F78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5641bb;
/* rgb */ color: rgb(86, 65, 187);
/* oklch */ color: oklch(47.1% 0.183 284.8);
Tailwind
colors: {
  custom: {
    50: '#8f77d0',
    500: '#5641bb',
    950: '#000000',
  },
}
SCSS
$custom: #5641bb;
$custom-light: #8f77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5641bb",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 250.328,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.18267,
    "h": 284.8
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#5641BB
secondary
#BEC890
accent
#D850C1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5641BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5641BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva