#664CC4#664CC4
#664CC4 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.179 H 288.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #664CC4 |
|---|---|
| RGB | rgb(102, 76, 196) |
| HSL | hsl(253, 50%, 53%) |
| HSV | hsv(253, 61%, 77%) |
| CMYK | cmyk(48%, 61.2%, 0%, 23.1%) |
| CIE-LAB | lab(41.18, 40.79, -59.31) |
| CIE-LCH | lch(41.18, 71.98, 304.52°) |
| OKLab | oklab(51.02% 0.0563 -0.1696) |
| OKLCH | oklch(51.02% 0.179 288.4) |
| XYZ | xyz(18.0249, 11.9784, 53.5762) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.91
Iris
#6258C4
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 4.31
Light Indigo
#6D5ACF
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 4.92
Blue With A Hint Of Purple
#533CC6
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664CC4 #AAC44C
analogous
#4C6EC4 #664CC4 #A24CC4
triadic
#664CC4 #C4664C #4CC466
tetradic
#664CC4 #C44C6E #AAC44C #4CC4A2
square
#664CC4 #C44C6E #AAC44C #4CC4A2
split-complementary
#664CC4 #C4A24C #6EC44C
monochromatic
#352571 #4B349F #664CC4 #8D7AD3 #B5A8E2
Accessibility & contrast
On white
6.18
#664CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#664CC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664CC4
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664CC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664CC4 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#476881
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #664cc4; /* rgb */ color: rgb(102, 76, 196); /* oklch */ color: oklch(51.0% 0.179 288.4);
Tailwind
colors: {
custom: {
50: '#997fd7',
500: '#664cc4',
950: '#000000',
},
}SCSS
$custom: #664cc4; $custom-light: #997fd7; $custom-dark: #000000;
JSON
{
"hex": "#664cc4",
"rgb": {
"r": 102,
"g": 76,
"b": 196
},
"hsl": {
"h": 253,
"s": 50.42,
"l": 53.333
},
"oklch": {
"l": 0.51017,
"c": 0.17874,
"h": 288.4
},
"luminance": 0.11979
}Semantic roles & 50–950 ramp
primary
#664CC4
secondary
#C5D09C
accent
#DA4EBC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83