#6440C8#6440C8

#6440C8 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.3% C 0.199 H 289.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6440C8
RGBrgb(100, 64, 200)
HSLhsl(256, 55%, 52%)
HSVhsv(256, 68%, 78%)
CMYKcmyk(50%, 68%, 0%, 21.6%)
CIE-LABlab(38.80, 48.28, -65.51)
CIE-LCHlch(38.80, 81.38, 306.39°)
OKLaboklab(49.35% 0.0653 -0.1879)
OKLCHoklch(49.35% 0.199 289.1)
XYZxyz(17.5112, 10.5455, 55.7452)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440C8 #A4C840
analogous
#4060C8 #6440C8 #A840C8
triadic
#6440C8 #C86440 #40C864
tetradic
#6440C8 #C84060 #A4C840 #40C8A8
square
#6440C8 #C84060 #A4C840 #40C8A8
split-complementary
#6440C8 #C8A840 #60C840
monochromatic
#34206E #4B2D9D #6440C8 #8B70D6 #B19FE3

Accessibility & contrast

On white

6.75
#6440C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6440C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440C8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440C8#FFFFFF#000000##FFFFFF
##6440C81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#41627F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6440c8;
/* rgb */ color: rgb(100, 64, 200);
/* oklch */ color: oklch(49.3% 0.199 289.1);
Tailwind
colors: {
  custom: {
    50: '#9977da',
    500: '#6440c8',
    950: '#000000',
  },
}
SCSS
$custom: #6440c8;
$custom-light: #9977da;
$custom-dark: #000000;
JSON
{
  "hex": "#6440c8",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 255.882,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.19895,
    "h": 289.1
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#6440C8
secondary
#C0D094
accent
#DF49B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6440C8

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

Preview Lab → · Contrast checker → · Palette generator →

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