#664CAF#664CAF
#664CAF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.151 H 292.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #664CAF |
|---|---|
| RGB | rgb(102, 76, 175) |
| HSL | hsl(256, 39%, 49%) |
| HSV | hsv(256, 57%, 69%) |
| CMYK | cmyk(41.7%, 56.6%, 0%, 31.4%) |
| CIE-LAB | lab(39.73, 34.71, -49.34) |
| CIE-LCH | lch(39.73, 60.32, 305.13°) |
| OKLab | oklab(49.49% 0.0568 -0.1403) |
| OKLCH | oklch(49.49% 0.151 292) |
| XYZ | xyz(15.7997, 11.0884, 41.8569) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.53
Bluey Purple
#6241C7
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 4.96
Iris
#6258C4
ΔE00 5.13
Slate Blue
#6A5ACD
ΔE00 6.19
Blue With A Hint Of Purple
#533CC6
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664CAF #95AF4C
analogous
#4C64AF #664CAF #984CAF
triadic
#664CAF #AF664C #4CAF66
tetradic
#664CAF #AF4C64 #95AF4C #4CAF98
square
#664CAF #AF4C64 #95AF4C #4CAF98
split-complementary
#664CAF #AF984C #64AF4C
monochromatic
#34275A #4D3984 #664CAF #8A75C3 #AEA0D6
Accessibility & contrast
On white
6.53
#664CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#664CAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664CAF
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664CAF | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#1E5CAD
Tritanopia (blue-blind)
#526176
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #664caf; /* rgb */ color: rgb(102, 76, 175); /* oklch */ color: oklch(49.5% 0.151 292.0);
Tailwind
colors: {
custom: {
50: '#967fc7',
500: '#664caf',
950: '#000000',
},
}SCSS
$custom: #664caf; $custom-light: #967fc7; $custom-dark: #000000;
JSON
{
"hex": "#664caf",
"rgb": {
"r": 102,
"g": 76,
"b": 175
},
"hsl": {
"h": 255.758,
"s": 39.442,
"l": 49.216
},
"oklch": {
"l": 0.49488,
"c": 0.1514,
"h": 292
},
"luminance": 0.11089
}Semantic roles & 50–950 ramp
primary
#664CAF
secondary
#B6C294
accent
#CF58B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82