#5641BF#5641BF

#5641BF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.188 H 284.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5641BF
RGBrgb(86, 65, 191)
HSLhsl(250, 50%, 50%)
HSVhsv(250, 66%, 75%)
CMYKcmyk(55%, 66%, 0%, 25.1%)
CIE-LABlab(36.97, 42.67, -63.31)
CIE-LCHlch(36.97, 76.35, 303.98°)
OKLaboklab(47.48% 0.0463 -0.1819)
OKLCHoklch(47.48% 0.188 284.3)
XYZxyz(15.1292, 9.5197, 50.3204)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641BF #AABF41
analogous
#416BBF #5641BF #9541BF
triadic
#5641BF #BF5641 #41BF56
tetradic
#5641BF #BF416B #AABF41 #41BF95
square
#5641BF #BF416B #AABF41 #41BF95
split-complementary
#5641BF #BF9541 #6BBF41
monochromatic
#2D2264 #413192 #5641BF #7F6FCE #A79DDE

Accessibility & contrast

On white

7.23
#5641BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5641BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5641BF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641BF#FFFFFF#000000##FFFFFF
##5641BF1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#26617A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5641bf;
/* rgb */ color: rgb(86, 65, 191);
/* oklch */ color: oklch(47.5% 0.188 284.3);
Tailwind
colors: {
  custom: {
    50: '#9077d3',
    500: '#5641bf',
    950: '#000000',
  },
}
SCSS
$custom: #5641bf;
$custom-light: #9077d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5641bf",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 250,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47481,
    "c": 0.18773,
    "h": 284.3
  },
  "luminance": 0.09521
}

Semantic roles & 50–950 ramp

primary
#5641BF
secondary
#C1CA92
accent
#D94FC2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5641BF

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

Preview Lab → · Contrast checker → · Palette generator →

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