#6440CF#6440CF

#6440CF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.9% C 0.207 H 288.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6440CF
RGBrgb(100, 64, 207)
HSLhsl(255, 60%, 53%)
HSVhsv(255, 69%, 81%)
CMYKcmyk(51.7%, 69.1%, 0%, 18.8%)
CIE-LABlab(39.38, 50.27, -68.63)
CIE-LCHlch(39.38, 85.07, 306.22°)
OKLaboklab(49.94% 0.0641 -0.1971)
OKLCHoklch(49.94% 0.207 288)
XYZxyz(18.3481, 10.8802, 60.1527)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440CF #ABCF40
analogous
#4063CF #6440CF #AC40CF
triadic
#6440CF #CF6440 #40CF64
tetradic
#6440CF #CF4063 #ABCF40 #40CFAC
square
#6440CF #CF4063 #ABCF40 #40CFAC
split-complementary
#6440CF #CFAC40 #63CF40
monochromatic
#341E77 #4A2AA8 #6440CF #8C71DB #B3A2E8

Accessibility & contrast

On white

6.61
#6440CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6440CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440CF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440CF#FFFFFF#000000##FFFFFF
##6440CF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#3C6583
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6440cf;
/* rgb */ color: rgb(100, 64, 207);
/* oklch */ color: oklch(49.9% 0.207 288.0);
Tailwind
colors: {
  custom: {
    50: '#9a78df',
    500: '#6440cf',
    950: '#000000',
  },
}
SCSS
$custom: #6440cf;
$custom-light: #9a78df;
$custom-dark: #000000;
JSON
{
  "hex": "#6440cf",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 255.105,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.20726,
    "h": 288
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#6440CF
secondary
#C5D497
accent
#E345BB
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6440CF

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

Preview Lab → · Contrast checker → · Palette generator →

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