最接近的命名颜色 · #3E123D
#3E123D
最接近的命名颜色: Velvet Cosmos
#3E123D(rgb(62 18 61)、hsl(301 55% 16%)、oklch(0.274 0.092 328.6))最接近命名颜色 Velvet Cosmos。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
#3E123D
oklch(0.274 0.092 328.6)
颜色转换
- HEX
- #3e123d
- RGB
- rgb(62 18 61)
- HSL
- hsl(301 55% 16%)
- HWB
- hwb(301 7% 76%)
- OKLCH
- oklch(0.274 0.092 328.6)
- OKLab
- oklab(0.274 0.078 -0.048)
- CIE Lab
- lab(14.33 26.53 -17.17)
- LCH
- lch(14.33 31.6 327.1)
- CMYK
- cmyk(0% 71% 2% 76%)
浅色调 · 深色调 · 灰色调
浅色调
- 50284F
- 633E61
- 755473
- 886A86
- 9B8299
- AF9AAD
- C2B2C1
- D6CBD5
- EBE5EA
深色调
- 350E34
- 2B0A2B
- 230722
- 1A041A
- 120212
- 0A010A
- 040104
- 010001
- 000000
灰色调
- 451E44
- 4C294A
- 533351
- 593E58
- 60495E
- 665465
- 6D5E6C
- 736972
- 7A7579
配色和谐
互补色 +180°
- 3E123D
Velvet Cosmos
- 00310F
≈ Haunted Hills
类似色 -30° +30°
- 3E123D
Velvet Cosmos
- 2E194D
≈ Russian Violet
- 480D27
≈ What We Do in the Shadows
三角配色 +120° +240°
- 3E123D
Velvet Cosmos
- 322500
≈ Black Swan
- 002D34
≈ Black Chasm
分裂互补色 +150° +210°
- 3E123D
Velvet Cosmos
- 242B00
≈ Lindworm Green
- 002F28
≈ Dark Jungle
四角配色 +90° +180° +270°
- 3E123D
Velvet Cosmos
- 3E1E00
≈ Dark Ebony
- 00310F
≈ Haunted Hills
- 002B42
≈ Murky Depths
对比度与无障碍
Ag
AAA白底
WCAG 15.45:1 · APCA Lc 102
Ag
Fail黑底
WCAG 1.35:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 15.45:1 (AAA) · APCA Lc 102
Contrast pairs
代码片段
CSS
:root {
--velvet-cosmos: #3e123d;
--velvet-cosmos-rgb: 62 18 61;
--velvet-cosmos-oklch: oklch(0.274 0.092 328.6);
}
.element {
color: var(--velvet-cosmos);
background-color: hsl(301 55% 16%);
border-color: oklch(0.274 0.092 328.6);
}Tailwind CSS v4
@theme {
--color-velvet-cosmos: #3e123d;
--color-velvet-cosmos-50: #ffecff;
--color-velvet-cosmos-100: #fbddf6;
--color-velvet-cosmos-200: #ecc7e7;
--color-velvet-cosmos-300: #d3a7cd;
--color-velvet-cosmos-400: #bd8bb9;
--color-velvet-cosmos-500: #a770a4;
--color-velvet-cosmos-600: #8e5f8b;
--color-velvet-cosmos-700: #714c6f;
--color-velvet-cosmos-800: #533753;
--color-velvet-cosmos-900: #3a253a;
--color-velvet-cosmos-950: #241424;
}SCSS
$velvet-cosmos: #3e123d;
$velvet-cosmos-rgb: 62, 18, 61;
$velvet-cosmos-light: mix(#fff, $velvet-cosmos, 20%);
$velvet-cosmos-dark: mix(#000, $velvet-cosmos, 20%);
.element {
color: $velvet-cosmos;
box-shadow: 0 0 0 2px rgba($velvet-cosmos, 0.35);
}