#6440CB#6440CB

#6440CB is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.6% C 0.203 H 288.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6440CB
RGBrgb(100, 64, 203)
HSLhsl(256, 57%, 52%)
HSVhsv(256, 68%, 80%)
CMYKcmyk(50.7%, 68.5%, 0%, 20.4%)
CIE-LABlab(39.05, 49.14, -66.85)
CIE-LCHlch(39.05, 82.97, 306.32°)
OKLaboklab(49.6% 0.0648 -0.1919)
OKLCHoklch(49.6% 0.203 288.7)
XYZxyz(17.8653, 10.6871, 57.6098)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440CB #A7CB40
analogous
#4061CB #6440CB #AA40CB
triadic
#6440CB #CB6440 #40CB64
tetradic
#6440CB #CB4061 #A7CB40 #40CBAA
square
#6440CB #CB4061 #A7CB40 #40CBAA
split-complementary
#6440CB #CBAA40 #61CB40
monochromatic
#341F72 #4B2CA2 #6440CB #8B70D8 #B2A0E5

Accessibility & contrast

On white

6.69
#6440CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6440CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440CB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440CB#FFFFFF#000000##FFFFFF
##6440CB1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#3F6380
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6440cb;
/* rgb */ color: rgb(100, 64, 203);
/* oklch */ color: oklch(49.6% 0.203 288.7);
Tailwind
colors: {
  custom: {
    50: '#9977dc',
    500: '#6440cb',
    950: '#000000',
  },
}
SCSS
$custom: #6440cb;
$custom-light: #9977dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6440cb",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 255.54,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49597,
    "c": 0.20252,
    "h": 288.7
  },
  "luminance": 0.10688
}

Semantic roles & 50–950 ramp

primary
#6440CB
secondary
#C2D295
accent
#E047B9
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6440CB

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

Preview Lab → · Contrast checker → · Palette generator →

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