#6440AC#6440AC

#6440AC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.1% C 0.165 H 294.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6440AC
RGBrgb(100, 64, 172)
HSLhsl(260, 46%, 46%)
HSVhsv(260, 63%, 67%)
CMYKcmyk(41.9%, 62.8%, 0%, 32.5%)
CIE-LABlab(36.66, 40.40, -52.52)
CIE-LCHlch(36.66, 66.26, 307.56°)
OKLaboklab(47.13% 0.0685 -0.1498)
OKLCHoklch(47.13% 0.165 294.6)
XYZxyz(14.5333, 9.3543, 40.0616)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440AC #88AC40
analogous
#4052AC #6440AC #9A40AC
triadic
#6440AC #AC6440 #40AC64
tetradic
#6440AC #AC4052 #88AC40 #40AC9A
square
#6440AC #AC4052 #88AC40 #40AC9A
split-complementary
#6440AC #AC9A40 #52AC40
monochromatic
#301F53 #4A2F7F #6440AC #8464C5 #A891D6

Accessibility & contrast

On white

7.31
#6440AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6440AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6440AC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6440AC#FFFFFF#000000##FFFFFF
##6440AC1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#515870
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6440ac;
/* rgb */ color: rgb(100, 64, 172);
/* oklch */ color: oklch(47.1% 0.165 294.6);
Tailwind
colors: {
  custom: {
    50: '#9577c5',
    500: '#6440ac',
    950: '#000000',
  },
}
SCSS
$custom: #6440ac;
$custom-light: #9577c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6440ac",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 260,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47125,
    "c": 0.16471,
    "h": 294.6
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#6440AC
secondary
#AEC187
accent
#D552AA
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6440AC

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

Preview Lab → · Contrast checker → · Palette generator →

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