#665EA4
#665ea4 ≈ Royal Purple
#665ea4 属于蓝系颜色(明度:中等,饱和度:中等)。 在 RGB 模型中,它由 40% 红、36.86% 绿和 64.31% 蓝组成;采用 CMYK 印刷时需要 37.8% 青、42.68% 品红、0% 黄和 35.69% 黑。 在 HSL 中,它的色相角为 246.86°,饱和度为 27.78%,明度为 50.59%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和品牌点缀色。 在此颜色上使用白色文字时,对比度为 5.67:1(WCAG AA)。 最接近的命名颜色是 Royal Purple(#7851a9),ΔE 为 6.65。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.1351 |
暗调
#665ea4 逐步混入黑色。
亮调
#665ea4 逐步混入白色。
灰调
#665ea4 逐步混入灰色。
清晰易读的文字
5.67:1
AA ✓
AA Large ✓
AAA ✕
AAA Large ✓
清晰易读的文字
3.7:1
AA ✕
AA Large ✓
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-665ea4 {
color: #665ea4;
}
背景
.bg-665ea4 {
background-color: #665ea4;
color: #ffffff;
}
边框
.border-665ea4 {
border: 2px solid #665ea4;
}
CSS 变量
:root {
--color-primary: #665ea4;
--color-primary-rgb: 102 94 164;
--color-primary-hsl: 247 28% 51%;
}
渐变
.gradient-665ea4 {
background: linear-gradient(135deg, #665ea4, #895ea4);
}
彩色阴影
.shadow-665ea4 {
box-shadow: 0 8px 24px rgb(102 94 164 / 0.35);
}
Royal Purple
#665ea4 rgb(102, 94, 164) hsl(247, 28%, 51%) Royal Purple
#9ca45e rgb(156, 164, 94) hsl(67, 28%, 51%) Moss Green
#a4665e rgb(164, 102, 94) hsl(7, 28%, 51%) Redwood
#5ea466 rgb(94, 164, 102) hsl(127, 28%, 51%) Medium Sea Green