#6440AF#6440AF

#6440AF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.4% C 0.168 H 293.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6440AF
RGBrgb(100, 64, 175)
HSLhsl(259, 46%, 47%)
HSVhsv(259, 63%, 69%)
CMYKcmyk(42.9%, 63.4%, 0%, 31.4%)
CIE-LABlab(36.88, 41.23, -53.96)
CIE-LCHlch(36.88, 67.91, 307.39°)
OKLaboklab(47.35% 0.0683 -0.154)
OKLCHoklch(47.35% 0.168 293.9)
XYZxyz(14.8247, 9.4709, 41.5961)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440AF #8BAF40
analogous
#4054AF #6440AF #9C40AF
triadic
#6440AF #AF6440 #40AF64
tetradic
#6440AF #AF4054 #8BAF40 #40AF9C
square
#6440AF #AF4054 #8BAF40 #40AF9C
split-complementary
#6440AF #AF9C40 #54AF40
monochromatic
#311F55 #4A3082 #6440AF #8565C7 #A992D7

Accessibility & contrast

On white

7.26
#6440AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6440AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6440AF
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440AF#FFFFFF#000000##FFFFFF
##6440AF1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#505971
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6440af;
/* rgb */ color: rgb(100, 64, 175);
/* oklch */ color: oklch(47.4% 0.168 293.9);
Tailwind
colors: {
  custom: {
    50: '#9677c8',
    500: '#6440af',
    950: '#000000',
  },
}
SCSS
$custom: #6440af;
$custom-light: #9677c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6440af",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 259.459,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47352,
    "c": 0.16845,
    "h": 293.9
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#6440AF
secondary
#B0C388
accent
#D652AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6440AF

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

Preview Lab → · Contrast checker → · Palette generator →

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