#6440C2#6440C2

#6440C2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.9% C 0.192 H 290.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6440C2
RGBrgb(100, 64, 194)
HSLhsl(257, 52%, 51%)
HSVhsv(257, 67%, 76%)
CMYKcmyk(48.5%, 67%, 0%, 23.9%)
CIE-LABlab(38.32, 46.58, -62.79)
CIE-LCHlch(38.32, 78.19, 306.57°)
OKLaboklab(48.85% 0.0662 -0.18)
OKLCHoklch(48.85% 0.192 290.2)
XYZxyz(16.8238, 10.2705, 52.1244)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440C2 #9EC240
analogous
#405DC2 #6440C2 #A540C2
triadic
#6440C2 #C26440 #40C264
tetradic
#6440C2 #C2405D #9EC240 #40C2A5
square
#6440C2 #C2405D #9EC240 #40C2A5
split-complementary
#6440C2 #C2A540 #5DC240
monochromatic
#342167 #4C3095 #6440C2 #8A6ED1 #AF9DE0

Accessibility & contrast

On white

6.88
#6440C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6440C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440C2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440C2#FFFFFF#000000##FFFFFF
##6440C21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#45607C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6440c2;
/* rgb */ color: rgb(100, 64, 194);
/* oklch */ color: oklch(48.9% 0.192 290.2);
Tailwind
colors: {
  custom: {
    50: '#9877d5',
    500: '#6440c2',
    950: '#000000',
  },
}
SCSS
$custom: #6440c2;
$custom-light: #9877d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6440c2",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 256.615,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48852,
    "c": 0.19175,
    "h": 290.2
  },
  "luminance": 0.10271
}

Semantic roles & 50–950 ramp

primary
#6440C2
secondary
#BCCC92
accent
#DB4DB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6440C2

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

Preview Lab → · Contrast checker → · Palette generator →

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