#5641BD#5641BD

#5641BD is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.185 H 284.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5641BD
RGBrgb(86, 65, 189)
HSLhsl(250, 49%, 50%)
HSVhsv(250, 66%, 74%)
CMYKcmyk(54.5%, 65.6%, 0%, 25.9%)
CIE-LABlab(36.80, 42.06, -62.40)
CIE-LCHlch(36.80, 75.25, 303.98°)
OKLaboklab(47.31% 0.0466 -0.1793)
OKLCHoklch(47.31% 0.185 284.6)
XYZxyz(14.9106, 9.4323, 49.1692)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641BD #A8BD41
analogous
#416ABD #5641BD #9441BD
triadic
#5641BD #BD5641 #41BD56
tetradic
#5641BD #BD416A #A8BD41 #41BD94
square
#5641BD #BD416A #A8BD41 #41BD94
split-complementary
#5641BD #BD9441 #6ABD41
monochromatic
#2D2262 #41318F #5641BD #7E6ECD #A79CDD

Accessibility & contrast

On white

7.27
#5641BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5641BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5641BD
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641BD#FFFFFF#000000##FFFFFF
##5641BD1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#296079
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5641bd;
/* rgb */ color: rgb(86, 65, 189);
/* oklch */ color: oklch(47.3% 0.185 284.6);
Tailwind
colors: {
  custom: {
    50: '#8f77d2',
    500: '#5641bd',
    950: '#000000',
  },
}
SCSS
$custom: #5641bd;
$custom-light: #8f77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5641bd",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 250.161,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.18521,
    "h": 284.6
  },
  "luminance": 0.09433
}

Semantic roles & 50–950 ramp

primary
#5641BD
secondary
#BFC991
accent
#D84FC1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5641BD

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

Preview Lab → · Contrast checker → · Palette generator →

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