#6440AA#6440AA

#6440AA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.0% C 0.162 H 295.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6440AA
RGBrgb(100, 64, 170)
HSLhsl(260, 45%, 46%)
HSVhsv(260, 62%, 67%)
CMYKcmyk(41.2%, 62.4%, 0%, 33.3%)
CIE-LABlab(36.51, 39.84, -51.56)
CIE-LCHlch(36.51, 65.16, 307.69°)
OKLaboklab(46.98% 0.0687 -0.1469)
OKLCHoklch(46.98% 0.162 295)
XYZxyz(14.3427, 9.2781, 39.0576)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6440AA #86AA40
analogous
#4051AA #6440AA #9940AA
triadic
#6440AA #AA6440 #40AA64
tetradic
#6440AA #AA4051 #86AA40 #40AA99
square
#6440AA #AA4051 #86AA40 #40AA99
split-complementary
#6440AA #AA9940 #51AA40
monochromatic
#301F51 #4A2F7E #6440AA #8463C4 #A78FD5

Accessibility & contrast

On white

7.35
#6440AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6440AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6440AA#FFFFFF#000000##FFFFFF
##6440AA1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#52586F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6440aa;
/* rgb */ color: rgb(100, 64, 170);
/* oklch */ color: oklch(47.0% 0.162 295.0);
Tailwind
colors: {
  custom: {
    50: '#9577c4',
    500: '#6440aa',
    950: '#000000',
  },
}
SCSS
$custom: #6440aa;
$custom-light: #9577c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6440aa",
  "rgb": {
    "r": 100,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 260.377,
    "s": 45.299,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46975,
    "c": 0.16221,
    "h": 295
  },
  "luminance": 0.09278
}

Semantic roles & 50–950 ramp

primary
#6440AA
secondary
#ACC086
accent
#D553A9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6440AA

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

Preview Lab → · Contrast checker → · Palette generator →

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