#4E31EA
#4e31ea ≈ Han Purple
#4e31ea 属于蓝系颜色(明度:中等,饱和度:较高)。 在 RGB 模型中,它由 30.59% 红、19.22% 绿和 91.76% 蓝组成;采用 CMYK 印刷时需要 66.67% 青、79.06% 品红、0% 黄和 8.24% 黑。 在 HSL 中,它的色相角为 249.41°,饱和度为 81.5%,明度为 55.49%。 这是一种冷色,常让人联想到信任、稳定和专注。 设计师常把它用于科技产品、金融和银行和行动号召按钮。 在此颜色上使用白色文字时,对比度为 7.12:1(WCAG AAA)。 最接近的命名颜色是 Han Purple(#5218fa),ΔE 为 3.03。
根据此颜色的测量属性自动生成的描述。
| HEX | |
|---|---|
| RGB | |
| RGB 百分比 | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| 网页安全色 | #6633ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| 二进制 | |
| 十进制 | |
| 相对亮度 | 0.0976 |
暗调
#4e31ea 逐步混入黑色。
亮调
#4e31ea 逐步混入白色。
灰调
#4e31ea 逐步混入灰色。
清晰易读的文字
7.12:1
AA ✓
AA Large ✓
AAA ✓
AAA Large ✓
清晰易读的文字
2.95:1
AA ✕
AA Large ✕
AAA ✕
AAA Large ✕
此颜色的文字
此颜色的背景
此颜色的边框
文字颜色
.text-4e31ea {
color: #4e31ea;
}
背景
.bg-4e31ea {
background-color: #4e31ea;
color: #ffffff;
}
边框
.border-4e31ea {
border: 2px solid #4e31ea;
}
CSS 变量
:root {
--color-primary: #4e31ea;
--color-primary-rgb: 78 49 234;
--color-primary-hsl: 249 82% 55%;
}
渐变
.gradient-4e31ea {
background: linear-gradient(135deg, #4e31ea, #ab31ea);
}
彩色阴影
.shadow-4e31ea {
box-shadow: 0 8px 24px rgb(78 49 234 / 0.35);
}
Han Purple
#4e31ea rgb(78, 49, 234) hsl(249, 82%, 55%) Han Purple
#cdea31 rgb(205, 234, 49) hsl(69, 82%, 55%) Pear
#ea4e31 rgb(234, 78, 49) hsl(9, 82%, 55%) Cinnabar
#31ea4e rgb(49, 234, 78) hsl(129, 82%, 55%) Malachite