#5643B4#5643B4

#5643B4 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.9% C 0.171 H 285.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5643B4
RGBrgb(86, 67, 180)
HSLhsl(250, 46%, 48%)
HSVhsv(250, 63%, 71%)
CMYKcmyk(52.2%, 62.8%, 0%, 29.4%)
CIE-LABlab(36.53, 38.14, -57.54)
CIE-LCHlch(36.53, 69.03, 303.53°)
OKLaboklab(46.89% 0.0455 -0.165)
OKLCHoklch(46.89% 0.171 285.4)
XYZxyz(14.0807, 9.2873, 44.2219)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643B4 #A1B443
analogous
#4369B4 #5643B4 #8E43B4
triadic
#5643B4 #B45643 #43B456
tetradic
#5643B4 #B44369 #A1B443 #43B48E
square
#5643B4 #B44369 #A1B443 #43B48E
split-complementary
#5643B4 #B48E43 #69B443
monochromatic
#2B225B #413287 #5643B4 #7B6CC8 #A399D9

Accessibility & contrast

On white

7.35
#5643B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#5643B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5643B4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643B4#FFFFFF#000000##FFFFFF
##5643B41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#315E75
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5643b4;
/* rgb */ color: rgb(86, 67, 180);
/* oklch */ color: oklch(46.9% 0.171 285.4);
Tailwind
colors: {
  custom: {
    50: '#8e78cb',
    500: '#5643b4',
    950: '#000000',
  },
}
SCSS
$custom: #5643b4;
$custom-light: #8e78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5643b4",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 180
  },
  "hsl": {
    "h": 250.088,
    "s": 45.749,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.17113,
    "h": 285.4
  },
  "luminance": 0.09288
}

Semantic roles & 50–950 ramp

primary
#5643B4
secondary
#BCC58E
accent
#D552BF
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5643B4

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

Preview Lab → · Contrast checker → · Palette generator →

#5643B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva