#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 |
|---|---|
| RGB | rgb(102, 78, 163) |
| HSL | hsl(257, 35%, 47%) |
| HSV | hsv(257, 52%, 64%) |
| CMYK | cmyk(37.4%, 52.1%, 0%, 36.1%) |
| CIE-LAB | lab(39.44, 30.10, -42.67) |
| CIE-LCH | lch(39.44, 52.22, 305.20°) |
| OKLab | oklab(49.03% 0.0537 -0.1207) |
| OKLCH | oklch(49.03% 0.132 294) |
| XYZ | xyz(14.8130, 10.9176, 35.9701) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.89
Iris
#6258C4
ΔE00 6.47
Ocean Blue
#4F42B5
ΔE00 6.48
Blueberry
#464196
ΔE00 6.85
Bluey Purple
#6241C7
ΔE00 6.99
Twilight
#4E518B
ΔE00 7.11
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 |
|---|---|---|---|---|
| ##664EA3 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.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