#6440B2#6440B2

#6440B2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.172 H 293.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6440B2
RGBrgb(100, 64, 178)
HSLhsl(259, 47%, 47%)
HSVhsv(259, 64%, 70%)
CMYKcmyk(43.8%, 64%, 0%, 30.2%)
CIE-LABlab(37.10, 42.07, -55.38)
CIE-LCHlch(37.10, 69.55, 307.23°)
OKLaboklab(47.58% 0.0681 -0.1582)
OKLCHoklch(47.58% 0.172 293.3)
XYZxyz(15.1226, 9.5900, 43.1651)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440B2 #8EB240
analogous
#4055B2 #6440B2 #9D40B2
triadic
#6440B2 #B26440 #40B264
tetradic
#6440B2 #B24055 #8EB240 #40B29D
square
#6440B2 #B24055 #8EB240 #40B29D
split-complementary
#6440B2 #B29D40 #55B240
monochromatic
#312058 #4B3085 #6440B2 #8667C8 #AA94D8

Accessibility & contrast

On white

7.20
#6440B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6440B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6440B2
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440B2#FFFFFF#000000##FFFFFF
##6440B21.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#4E5B73
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6440b2;
/* rgb */ color: rgb(100, 64, 178);
/* oklch */ color: oklch(47.6% 0.172 293.3);
Tailwind
colors: {
  custom: {
    50: '#9677ca',
    500: '#6440b2',
    950: '#000000',
  },
}
SCSS
$custom: #6440b2;
$custom-light: #9677ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6440b2",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 258.947,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47581,
    "c": 0.17218,
    "h": 293.3
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#6440B2
secondary
#B2C48A
accent
#D751AD
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6440B2

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

Preview Lab → · Contrast checker → · Palette generator →

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