#6440D3#6440D3

#6440D3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.3% C 0.212 H 287.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6440D3
RGBrgb(100, 64, 211)
HSLhsl(255, 63%, 54%)
HSVhsv(255, 70%, 83%)
CMYKcmyk(52.6%, 69.7%, 0%, 17.3%)
CIE-LABlab(39.71, 51.41, -70.39)
CIE-LCHlch(39.71, 87.17, 306.14°)
OKLaboklab(50.28% 0.0634 -0.2023)
OKLCHoklch(50.28% 0.212 287.4)
XYZxyz(18.8433, 11.0783, 62.7608)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440D3 #AFD340
analogous
#4066D3 #6440D3 #AE40D3
triadic
#6440D3 #D36440 #40D364
tetradic
#6440D3 #D34066 #AFD340 #40D3AE
square
#6440D3 #D34066 #AFD340 #40D3AE
split-complementary
#6440D3 #D3AE40 #66D340
monochromatic
#341D7C #4928AE #6440D3 #8C72DE #B5A3EA

Accessibility & contrast

On white

6.53
#6440D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6440D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440D3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440D3#FFFFFF#000000##FFFFFF
##6440D31.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#386685
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6440d3;
/* rgb */ color: rgb(100, 64, 211);
/* oklch */ color: oklch(50.3% 0.212 287.4);
Tailwind
colors: {
  custom: {
    50: '#9a78e2',
    500: '#6440d3',
    950: '#000000',
  },
}
SCSS
$custom: #6440d3;
$custom-light: #9a78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6440d3",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 254.694,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.21197,
    "h": 287.4
  },
  "luminance": 0.11079
}

Semantic roles & 50–950 ramp

primary
#6440D3
secondary
#C7D798
accent
#E642BE
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6440D3

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

Preview Lab → · Contrast checker → · Palette generator →

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