#6440D2#6440D2

#6440D2 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.2% C 0.211 H 287.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6440D2
RGBrgb(100, 64, 210)
HSLhsl(255, 62%, 54%)
HSVhsv(255, 70%, 82%)
CMYKcmyk(52.4%, 69.5%, 0%, 17.6%)
CIE-LABlab(39.63, 51.13, -69.95)
CIE-LCHlch(39.63, 86.64, 306.16°)
OKLaboklab(50.19% 0.0636 -0.201)
OKLCHoklch(50.19% 0.211 287.5)
XYZxyz(18.7184, 11.0283, 62.1026)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440D2 #AED240
analogous
#4065D2 #6440D2 #AD40D2
triadic
#6440D2 #D26440 #40D264
tetradic
#6440D2 #D24065 #AED240 #40D2AD
square
#6440D2 #D24065 #AED240 #40D2AD
split-complementary
#6440D2 #D2AD40 #65D240
monochromatic
#341D7B #4929AC #6440D2 #8C72DE #B4A3E9

Accessibility & contrast

On white

6.55
#6440D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6440D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440D2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440D2#FFFFFF#000000##FFFFFF
##6440D21.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#396684
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6440d2;
/* rgb */ color: rgb(100, 64, 210);
/* oklch */ color: oklch(50.2% 0.211 287.5);
Tailwind
colors: {
  custom: {
    50: '#9a78e1',
    500: '#6440d2',
    950: '#000000',
  },
}
SCSS
$custom: #6440d2;
$custom-light: #9a78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6440d2",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 254.795,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.21079,
    "h": 287.5
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#6440D2
secondary
#C7D698
accent
#E543BD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6440D2

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

Preview Lab → · Contrast checker → · Palette generator →

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