#6440D5#6440D5

#6440D5 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.4% C 0.214 H 287.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6440D5
RGBrgb(100, 64, 213)
HSLhsl(254, 64%, 54%)
HSVhsv(254, 70%, 84%)
CMYKcmyk(53.1%, 70%, 0%, 16.5%)
CIE-LABlab(39.88, 51.98, -71.27)
CIE-LCHlch(39.88, 88.21, 306.11°)
OKLaboklab(50.45% 0.063 -0.2048)
OKLCHoklch(50.45% 0.214 287.1)
XYZxyz(19.0956, 11.1792, 64.0895)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440D5 #B1D540
analogous
#4067D5 #6440D5 #AF40D5
triadic
#6440D5 #D56440 #40D564
tetradic
#6440D5 #D54067 #B1D540 #40D5AF
square
#6440D5 #D54067 #B1D540 #40D5AF
split-complementary
#6440D5 #D5AF40 #67D540
monochromatic
#341C7F #4827B1 #6440D5 #8D72E0 #B5A4EB

Accessibility & contrast

On white

6.49
#6440D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6440D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440D5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440D5#FFFFFF#000000##FFFFFF
##6440D51.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#366786
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6440d5;
/* rgb */ color: rgb(100, 64, 213);
/* oklch */ color: oklch(50.4% 0.214 287.1);
Tailwind
colors: {
  custom: {
    50: '#9b78e3',
    500: '#6440d5',
    950: '#000000',
  },
}
SCSS
$custom: #6440d5;
$custom-light: #9b78e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6440d5",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 213
  },
  "hsl": {
    "h": 254.497,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.21431,
    "h": 287.1
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#6440D5
secondary
#C9D899
accent
#E741BF
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6440D5

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

Preview Lab → · Contrast checker → · Palette generator →

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