#6440C5#6440C5

#6440C5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.195 H 289.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6440C5
RGBrgb(100, 64, 197)
HSLhsl(256, 53%, 51%)
HSVhsv(256, 68%, 77%)
CMYKcmyk(49.2%, 67.5%, 0%, 22.7%)
CIE-LABlab(38.56, 47.43, -64.16)
CIE-LCHlch(38.56, 79.79, 306.48°)
OKLaboklab(49.1% 0.0657 -0.184)
OKLCHoklch(49.1% 0.195 289.7)
XYZxyz(17.1641, 10.4066, 53.9168)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440C5 #A1C540
analogous
#405EC5 #6440C5 #A740C5
triadic
#6440C5 #C56440 #40C564
tetradic
#6440C5 #C5405E #A1C540 #40C5A7
square
#6440C5 #C5405E #A1C540 #40C5A7
split-complementary
#6440C5 #C5A740 #5EC540
monochromatic
#34206A #4B2F99 #6440C5 #8A6FD3 #B09EE2

Accessibility & contrast

On white

6.82
#6440C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6440C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440C5
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440C5#FFFFFF#000000##FFFFFF
##6440C51.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#43617D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6440c5;
/* rgb */ color: rgb(100, 64, 197);
/* oklch */ color: oklch(49.1% 0.195 289.7);
Tailwind
colors: {
  custom: {
    50: '#9877d8',
    500: '#6440c5',
    950: '#000000',
  },
}
SCSS
$custom: #6440c5;
$custom-light: #9877d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6440c5",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 256.241,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49098,
    "c": 0.19535,
    "h": 289.7
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#6440C5
secondary
#BECE93
accent
#DD4BB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6440C5

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

Preview Lab → · Contrast checker → · Palette generator →

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