命名颜色 · #380282
Marionberry
Marionberry 即 #380282:rgb(56 2 130)、hsl(265 97% 26%)、oklch(0.316 0.177 290.1)。查看浅色调、深色调、和谐色、WCAG 与 APCA 对比度,以及 CSS、Tailwind v4 和 SCSS 代码。
What does Purple mean? → · Marionberry color name →
#380282
oklch(0.316 0.177 290.1)
颜色转换
- HEX
- #380282
- RGB
- rgb(56 2 130)
- HSL
- hsl(265 97% 26%)
- HWB
- hwb(265 1% 49%)
- OKLCH
- oklch(0.316 0.177 290.1)
- OKLab
- oklab(0.316 0.061 -0.166)
- CIE Lab
- lab(16.88 44.01 -59.08)
- LCH
- lch(16.88 73.67 306.7)
- CMYK
- cmyk(57% 98% 0% 49%)
浅色调 · 深色调 · 灰色调
浅色调
- 472990
- 57439D
- 695AAB
- 7D71B8
- 9188C4
- A59FD0
- BBB7DC
- D1CFE8
- E8E7F4
深色调
- 2F0170
- 27015F
- 1F014E
- 17003E
- 0F002F
- 080020
- 040012
- 010006
- 000001
灰色调
- 3D1C83
- 432B84
- 493885
- 504385
- 574E85
- 5F5885
- 676284
- 6F6C83
- 777682
配色和谐
互补色 +180°
- 380282
Marionberry
- 343400
≈ Wasabi Nori
类似色 -30° +30°
- 380282
Marionberry
- 002B72
≈ Blue Jinn’s
- 51005F
≈ God of Nights
三角配色 +120° +240°
- 380282
Marionberry
- 522200
≈ Evil Cigar
- 003C2D
≈ Deep Fir
分裂互补色 +150° +210°
- 380282
Marionberry
- 432D00
≈ Stirland Mud
- 0C3D00
≈ Hunter Green
四角配色 +90° +180° +270°
- 380282
Marionberry
- 630014
≈ Darkest Dungeon
- 343400
≈ Wasabi Nori
- 003A3D
≈ Customs Green
对比度与无障碍
Ag
AAA白底
WCAG 14.00:1 · APCA Lc 99
Ag
Fail黑底
WCAG 1.49:1 · APCA Lc 0
最佳文字颜色: #FFFFFF
WCAG 14.00:1 (AAA) · APCA Lc 99
Contrast pairs
代码片段
CSS
:root {
--marionberry: #380282;
--marionberry-rgb: 56 2 130;
--marionberry-oklch: oklch(0.316 0.177 290.1);
}
.element {
color: var(--marionberry);
background-color: hsl(265 97% 26%);
border-color: oklch(0.316 0.177 290.1);
}Tailwind CSS v4
@theme {
--color-marionberry: #380282;
--color-marionberry-50: #f6edff;
--color-marionberry-100: #e8deff;
--color-marionberry-200: #d6c7ff;
--color-marionberry-300: #baa6ff;
--color-marionberry-400: #9f89fe;
--color-marionberry-500: #886af0;
--color-marionberry-600: #735acb;
--color-marionberry-700: #5c48a3;
--color-marionberry-800: #41347b;
--color-marionberry-900: #2d2457;
--color-marionberry-950: #1a123b;
}SCSS
$marionberry: #380282;
$marionberry-rgb: 56, 2, 130;
$marionberry-light: mix(#fff, $marionberry, 20%);
$marionberry-dark: mix(#000, $marionberry, 20%);
.element {
color: $marionberry;
box-shadow: 0 0 0 2px rgba($marionberry, 0.35);
}