#6440E1#6440E1

#6440E1 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.5% C 0.228 H 285.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6440E1
RGBrgb(100, 64, 225)
HSLhsl(253, 73%, 57%)
HSVhsv(253, 72%, 88%)
CMYKcmyk(55.6%, 71.6%, 0%, 11.8%)
CIE-LABlab(40.91, 55.38, -76.44)
CIE-LCHlch(40.91, 94.40, 305.92°)
OKLaboklab(51.5% 0.0606 -0.22)
OKLCHoklch(51.5% 0.228 285.4)
XYZxyz(20.6754, 11.8112, 72.4099)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440E1 #BDE140
analogous
#406DE1 #6440E1 #B540E1
triadic
#6440E1 #E16440 #40E164
tetradic
#6440E1 #E1406D #BDE140 #40E1B5
square
#6440E1 #E1406D #BDE140 #40E1B5
split-complementary
#6440E1 #E1B540 #6DE140
monochromatic
#321790 #441FC5 #6440E1 #8F75E9 #BAAAF2

Accessibility & contrast

On white

6.25
#6440E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6440E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440E1
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440E1#FFFFFF#000000##FFFFFF
##6440E11.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#286C8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6440e1;
/* rgb */ color: rgb(100, 64, 225);
/* oklch */ color: oklch(51.5% 0.228 285.4);
Tailwind
colors: {
  custom: {
    50: '#9c78ec',
    500: '#6440e1',
    950: '#000000',
  },
}
SCSS
$custom: #6440e1;
$custom-light: #9c78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6440e1",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 225
  },
  "hsl": {
    "h": 253.416,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.515,
    "c": 0.22821,
    "h": 285.4
  },
  "luminance": 0.11812
}

Semantic roles & 50–950 ramp

primary
#6440E1
secondary
#D1DF9D
accent
#F038C7
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6440E1

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

Preview Lab → · Contrast checker → · Palette generator →

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