Màu có tên gần nhất · #3D3686
#3D3686
Màu có tên gần nhất: Majestic Eggplant
#3D3686 (rgb(61 54 134), hsl(245 43% 37%), oklch(0.388 0.129 282.5)) gần nhất với màu có tên Majestic Eggplant. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#3D3686
oklch(0.388 0.129 282.5)
Chuyển đổi màu
- HEX
- #3d3686
- RGB
- rgb(61 54 134)
- HSL
- hsl(245 43% 37%)
- HWB
- hwb(245 21% 47%)
- OKLCH
- oklch(0.388 0.129 282.5)
- OKLab
- oklab(0.388 0.028 -0.126)
- CIE Lab
- lab(27.1 21.48 -44.85)
- LCH
- lch(27.1 49.73 295.6)
- CMYK
- cmyk(54% 60% 0% 47%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 4D4A93
- 5E5D9F
- 7071AC
- 8384B8
- 9698C4
- AAACD0
- BFC0DC
- D4D5E8
- E9EAF3
Sắc đậm
- 342E74
- 2B2562
- 221E51
- 1A1640
- 120F30
- 0A0821
- 040313
- 010106
- 000001
Sắc xám
- 433E86
- 484686
- 4F4E86
- 555686
- 5C5D86
- 636485
- 6A6B84
- 717283
- 787982
Hòa sắc
Bổ túc +180°
- 3D3686
Majestic Eggplant
- 4D4600
≈ Sugarloaf Brown
Tương đồng -30° +30°
- 3D3686
Majestic Eggplant
- 004481
≈ Bridgeport
- 5B2A75
≈ Violethargic
Bộ ba +120° +240°
- 3D3686
Majestic Eggplant
- 742900
≈ Chestnut
- 005237
≈ Trapper Green
Bổ túc chia +150° +210°
- 3D3686
Majestic Eggplant
- 5F3C00
≈ Hippogriff Brown
- 2C5000
≈ Patch of Land
Bộ bốn +90° +180° +270°
- 3D3686
Majestic Eggplant
- 7A1B31
≈ Whisky Cola
- 4D4600
≈ Sugarloaf Brown
- 004F4E
≈ Antique Turquoise
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 10.14:1 · APCA Lc 93
Ag
FailTrên nền đen
WCAG 2.07:1 · APCA Lc 9
Màu chữ tốt nhất: #FFFFFF
WCAG 10.14:1 (AAA) · APCA Lc 93
Contrast pairs
Đoạn mã
CSS
:root {
--majestic-eggplant: #3d3686;
--majestic-eggplant-rgb: 61 54 134;
--majestic-eggplant-oklch: oklch(0.388 0.129 282.5);
}
.element {
color: var(--majestic-eggplant);
background-color: hsl(245 43% 37%);
border-color: oklch(0.388 0.129 282.5);
}Tailwind CSS v4
@theme {
--color-majestic-eggplant: #3d3686;
--color-majestic-eggplant-50: #f0f1ff;
--color-majestic-eggplant-100: #e2e3ff;
--color-majestic-eggplant-200: #cdcdff;
--color-majestic-eggplant-300: #b0aef7;
--color-majestic-eggplant-400: #9394e8;
--color-majestic-eggplant-500: #7b78d8;
--color-majestic-eggplant-600: #6866b7;
--color-majestic-eggplant-700: #535293;
--color-majestic-eggplant-800: #3b3c6e;
--color-majestic-eggplant-900: #28294d;
--color-majestic-eggplant-950: #161733;
}SCSS
$majestic-eggplant: #3d3686;
$majestic-eggplant-rgb: 61, 54, 134;
$majestic-eggplant-light: mix(#fff, $majestic-eggplant, 20%);
$majestic-eggplant-dark: mix(#000, $majestic-eggplant, 20%);
.element {
color: $majestic-eggplant;
box-shadow: 0 0 0 2px rgba($majestic-eggplant, 0.35);
}