#6440BD#6440BD

#6440BD is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.4% C 0.186 H 291.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6440BD
RGBrgb(100, 64, 189)
HSLhsl(257, 49%, 50%)
HSVhsv(257, 66%, 74%)
CMYKcmyk(47.1%, 66.1%, 0%, 25.9%)
CIE-LABlab(37.93, 45.17, -60.50)
CIE-LCHlch(37.93, 75.50, 306.74°)
OKLaboklab(48.45% 0.0668 -0.1732)
OKLCHoklch(48.45% 0.186 291.1)
XYZxyz(16.2716, 10.0497, 49.2167)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440BD #99BD40
analogous
#405BBD #6440BD #A340BD
triadic
#6440BD #BD6440 #40BD64
tetradic
#6440BD #BD405B #99BD40 #40BDA3
square
#6440BD #BD405B #99BD40 #40BDA3
split-complementary
#6440BD #BDA340 #5BBD40
monochromatic
#342162 #4C318F #6440BD #896DCD #AE9ADD

Accessibility & contrast

On white

6.98
#6440BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6440BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6440BD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440BD#FFFFFF#000000##FFFFFF
##6440BD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#485E79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6440bd;
/* rgb */ color: rgb(100, 64, 189);
/* oklch */ color: oklch(48.4% 0.186 291.1);
Tailwind
colors: {
  custom: {
    50: '#9777d2',
    500: '#6440bd',
    950: '#000000',
  },
}
SCSS
$custom: #6440bd;
$custom-light: #9777d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6440bd",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 257.28,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.18568,
    "h": 291.1
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#6440BD
secondary
#B9C990
accent
#D94FB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6440BD

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

Preview Lab → · Contrast checker → · Palette generator →

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