#664EA3#664EA3

#664EA3 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.0% C 0.132 H 294.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#664EA3
RGBrgb(102, 78, 163)
HSLhsl(257, 35%, 47%)
HSVhsv(257, 52%, 64%)
CMYKcmyk(37.4%, 52.1%, 0%, 36.1%)
CIE-LABlab(39.44, 30.10, -42.67)
CIE-LCHlch(39.44, 52.22, 305.20°)
OKLaboklab(49.03% 0.0537 -0.1207)
OKLCHoklch(49.03% 0.132 294)
XYZxyz(14.8130, 10.9176, 35.9701)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EA3 #8BA34E
analogous
#4E61A3 #664EA3 #914EA3
triadic
#664EA3 #A3664E #4EA366
tetradic
#664EA3 #A34E61 #8BA34E #4EA391
square
#664EA3 #A34E61 #8BA34E #4EA391
split-complementary
#664EA3 #A3914E #61A34E
monochromatic
#322650 #4C3A7A #664EA3 #8772BC #AA9CD0

Accessibility & contrast

On white

6.60
#664EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#664EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EA3
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EA3#FFFFFF#000000##FFFFFF
##664EA31.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA6
Deuteranopia (green-blind)
#315BA1
Tritanopia (blue-blind)
#575F71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #664ea3;
/* rgb */ color: rgb(102, 78, 163);
/* oklch */ color: oklch(49.0% 0.132 294.0);
Tailwind
colors: {
  custom: {
    50: '#9580bf',
    500: '#664ea3',
    950: '#000000',
  },
}
SCSS
$custom: #664ea3;
$custom-light: #9580bf;
$custom-dark: #000000;
JSON
{
  "hex": "#664ea3",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 256.941,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.13217,
    "h": 294
  },
  "luminance": 0.10918
}

Semantic roles & 50–950 ramp

primary
#664EA3
secondary
#B0BC91
accent
#CB5CAC
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #664EA3

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

Preview Lab → · Contrast checker → · Palette generator →

#664EA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva