#5641BC#5641BC

#5641BC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.184 H 284.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5641BC
RGBrgb(86, 65, 188)
HSLhsl(250, 49%, 50%)
HSVhsv(250, 65%, 74%)
CMYKcmyk(54.3%, 65.4%, 0%, 26.3%)
CIE-LABlab(36.72, 41.76, -61.94)
CIE-LCHlch(36.72, 74.70, 303.98°)
OKLaboklab(47.23% 0.0467 -0.1779)
OKLCHoklch(47.23% 0.184 284.7)
XYZxyz(14.8024, 9.3890, 48.5995)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641BC #A7BC41
analogous
#4169BC #5641BC #9441BC
triadic
#5641BC #BC5641 #41BC56
tetradic
#5641BC #BC4169 #A7BC41 #41BC94
square
#5641BC #BC4169 #A7BC41 #41BC94
split-complementary
#5641BC #BC9441 #69BC41
monochromatic
#2C2261 #41318F #5641BC #7E6ECD #A69BDC

Accessibility & contrast

On white

7.30
#5641BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5641BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5641BC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641BC#FFFFFF#000000##FFFFFF
##5641BC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#2A6079
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5641bc;
/* rgb */ color: rgb(86, 65, 188);
/* oklch */ color: oklch(47.2% 0.184 284.7);
Tailwind
colors: {
  custom: {
    50: '#8f77d1',
    500: '#5641bc',
    950: '#000000',
  },
}
SCSS
$custom: #5641bc;
$custom-light: #8f77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5641bc",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 250.244,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47229,
    "c": 0.18394,
    "h": 284.7
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#5641BC
secondary
#BFC990
accent
#D850C1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5641BC

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

Preview Lab → · Contrast checker → · Palette generator →

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