#6440CC#6440CC

#6440CC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.204 H 288.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6440CC
RGBrgb(100, 64, 204)
HSLhsl(255, 58%, 53%)
HSVhsv(255, 69%, 80%)
CMYKcmyk(51%, 68.6%, 0%, 20%)
CIE-LABlab(39.13, 49.42, -67.30)
CIE-LCHlch(39.13, 83.49, 306.29°)
OKLaboklab(49.68% 0.0646 -0.1932)
OKLCHoklch(49.68% 0.204 288.5)
XYZxyz(17.9848, 10.7349, 58.2394)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440CC #A8CC40
analogous
#4062CC #6440CC #AA40CC
triadic
#6440CC #CC6440 #40CC64
tetradic
#6440CC #CC4062 #A8CC40 #40CCAA
square
#6440CC #CC4062 #A8CC40 #40CCAA
split-complementary
#6440CC #CCAA40 #62CC40
monochromatic
#341F73 #4A2CA3 #6440CC #8B70D9 #B2A1E6

Accessibility & contrast

On white

6.67
#6440CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6440CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440CC
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440CC#FFFFFF#000000##FFFFFF
##6440CC1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#3E6481
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6440cc;
/* rgb */ color: rgb(100, 64, 204);
/* oklch */ color: oklch(49.7% 0.204 288.5);
Tailwind
colors: {
  custom: {
    50: '#9978dd',
    500: '#6440cc',
    950: '#000000',
  },
}
SCSS
$custom: #6440cc;
$custom-light: #9978dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6440cc",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 255.429,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49681,
    "c": 0.20371,
    "h": 288.5
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#6440CC
secondary
#C3D295
accent
#E147B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6440CC

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

Preview Lab → · Contrast checker → · Palette generator →

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