#6440BC#6440BC

#6440BC is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.184 H 291.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6440BC
RGBrgb(100, 64, 188)
HSLhsl(257, 49%, 49%)
HSVhsv(257, 66%, 74%)
CMYKcmyk(46.8%, 66%, 0%, 26.3%)
CIE-LABlab(37.85, 44.89, -60.04)
CIE-LCHlch(37.85, 74.97, 306.78°)
OKLaboklab(48.37% 0.067 -0.1719)
OKLCHoklch(48.37% 0.184 291.3)
XYZxyz(16.1635, 10.0064, 48.6470)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440BC #98BC40
analogous
#405ABC #6440BC #A240BC
triadic
#6440BC #BC6440 #40BC64
tetradic
#6440BC #BC405A #98BC40 #40BCA2
square
#6440BC #BC405A #98BC40 #40BCA2
split-complementary
#6440BC #BCA240 #5ABC40
monochromatic
#332161 #4C308E #6440BC #886CCD #AD9ADD

Accessibility & contrast

On white

7.00
#6440BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6440BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440BC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440BC#FFFFFF#000000##FFFFFF
##6440BC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#495E78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6440bc;
/* rgb */ color: rgb(100, 64, 188);
/* oklch */ color: oklch(48.4% 0.184 291.3);
Tailwind
colors: {
  custom: {
    50: '#9777d1',
    500: '#6440bc',
    950: '#000000',
  },
}
SCSS
$custom: #6440bc;
$custom-light: #9777d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6440bc",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 257.419,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48367,
    "c": 0.18446,
    "h": 291.3
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#6440BC
secondary
#B8C98F
accent
#D94FB1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6440BC

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

Preview Lab → · Contrast checker → · Palette generator →

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