#6440CD#6440CD

#6440CD is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.8% C 0.205 H 288.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#6440CD
RGBrgb(100, 64, 205)
HSLhsl(255, 59%, 53%)
HSVhsv(255, 69%, 80%)
CMYKcmyk(51.2%, 68.8%, 0%, 19.6%)
CIE-LABlab(39.21, 49.70, -67.74)
CIE-LCHlch(39.21, 84.02, 306.27°)
OKLaboklab(49.77% 0.0644 -0.1945)
OKLCHoklch(49.77% 0.205 288.3)
XYZxyz(18.1052, 10.7831, 58.8731)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440CD #A9CD40
analogous
#4063CD #6440CD #AA40CD
triadic
#6440CD #CD6440 #40CD64
tetradic
#6440CD #CD4063 #A9CD40 #40CDAA
square
#6440CD #CD4063 #A9CD40 #40CDAA
split-complementary
#6440CD #CDAA40 #63CD40
monochromatic
#341E74 #4A2BA5 #6440CD #8B71DA #B3A1E6

Accessibility & contrast

On white

6.65
#6440CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6440CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440CD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440CD#FFFFFF#000000##FFFFFF
##6440CD1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#3D6482
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6440cd;
/* rgb */ color: rgb(100, 64, 205);
/* oklch */ color: oklch(49.8% 0.205 288.3);
Tailwind
colors: {
  custom: {
    50: '#9a78dd',
    500: '#6440cd',
    950: '#000000',
  },
}
SCSS
$custom: #6440cd;
$custom-light: #9a78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6440cd",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 205
  },
  "hsl": {
    "h": 255.319,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.20489,
    "h": 288.3
  },
  "luminance": 0.10784
}

Semantic roles & 50–950 ramp

primary
#6440CD
secondary
#C3D396
accent
#E246BA
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6440CD

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

Preview Lab → · Contrast checker → · Palette generator →

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