#5644AB#5644AB

#5644AB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.4% C 0.158 H 286.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5644AB
RGBrgb(86, 68, 171)
HSLhsl(250, 43%, 47%)
HSVhsv(250, 60%, 67%)
CMYKcmyk(49.7%, 60.2%, 0%, 32.9%)
CIE-LABlab(36.08, 34.77, -52.92)
CIE-LCHlch(36.08, 63.32, 303.31°)
OKLaboklab(46.35% 0.0449 -0.1514)
OKLCHoklch(46.35% 0.158 286.5)
XYZxyz(13.2534, 9.0523, 39.5691)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5644AB #99AB44
analogous
#4466AB #5644AB #8944AB
triadic
#5644AB #AB5644 #44AB56
tetradic
#5644AB #AB4466 #99AB44 #44AB89
square
#5644AB #AB4466 #99AB44 #44AB89
split-complementary
#5644AB #AB8944 #66AB44
monochromatic
#2A2153 #40337F #5644AB #7969C3 #A095D5

Accessibility & contrast

On white

7.47
#5644AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#5644AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5644AB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5644AB#FFFFFF#000000##FFFFFF
##5644AB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#385C71
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5644ab;
/* rgb */ color: rgb(86, 68, 171);
/* oklch */ color: oklch(46.4% 0.158 286.5);
Tailwind
colors: {
  custom: {
    50: '#8c79c5',
    500: '#5644ab',
    950: '#000000',
  },
}
SCSS
$custom: #5644ab;
$custom-light: #8c79c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5644ab",
  "rgb": {
    "r": 86,
    "g": 68,
    "b": 171
  },
  "hsl": {
    "h": 250.485,
    "s": 43.096,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46353,
    "c": 0.15791,
    "h": 286.5
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#5644AB
secondary
#B7C08A
accent
#D355BD
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5644AB

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

Preview Lab → · Contrast checker → · Palette generator →

#5644AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva