#664FBF#664FBF
#664FBF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.168 H 288.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #664FBF |
|---|---|
| RGB | rgb(102, 79, 191) |
| HSL | hsl(252, 47%, 53%) |
| HSV | hsv(252, 59%, 75%) |
| CMYK | cmyk(46.6%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(41.50, 37.57, -55.88) |
| CIE-LCH | lch(41.50, 67.34, 303.91°) |
| OKLab | oklab(51.14% 0.0532 -0.1596) |
| OKLCH | oklch(51.14% 0.168 288.4) |
| XYZ | xyz(17.6767, 12.1776, 50.6992) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.07
Slate Blue
#6A5ACD
ΔE00 3.89
Bluey Purple
#6241C7
ΔE00 3.89
Light Indigo
#6D5ACF
ΔE00 4.11
Ocean Blue
#4F42B5
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#664FBF #A8BF4F
analogous
#4F70BF #664FBF #9E4FBF
triadic
#664FBF #BF664F #4FBF66
tetradic
#664FBF #BF4F70 #A8BF4F #4FBF9E
square
#664FBF #BF4F70 #A8BF4F #4FBF9E
split-complementary
#664FBF #BF9E4F #70BF4F
monochromatic
#36276C #4C3899 #664FBF #8D7CCF #B4A9E0
Accessibility & contrast
On white
6.11
#664FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#664FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #664FBF
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##664FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##664FBF | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#4A687F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #664fbf; /* rgb */ color: rgb(102, 79, 191); /* oklch */ color: oklch(51.1% 0.168 288.4);
Tailwind
colors: {
custom: {
50: '#9881d3',
500: '#664fbf',
950: '#000000',
},
}SCSS
$custom: #664fbf; $custom-light: #9881d3; $custom-dark: #000000;
JSON
{
"hex": "#664fbf",
"rgb": {
"r": 102,
"g": 79,
"b": 191
},
"hsl": {
"h": 252.321,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.51135,
"c": 0.1682,
"h": 288.4
},
"luminance": 0.12178
}Semantic roles & 50–950 ramp
primary
#664FBF
secondary
#C3CD9D
accent
#D651BB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83