Colore con nome più vicino · #4C358E
#4C358E
Colore con nome più vicino: Majestic Eggplant
#4C358E (rgb(76 53 142), hsl(256 46% 38%), oklch(0.406 0.141 290.7)) è più vicino al colore con nome Majestic Eggplant. Scopri tinte, ombre, armonie, contrasto WCAG e APCA e codice CSS, Tailwind v4 e SCSS.
#4C358E
oklch(0.406 0.141 290.7)
Conversioni di colore
- HEX
- #4c358e
- RGB
- rgb(76 53 142)
- HSL
- hsl(256 46% 38%)
- HWB
- hwb(256 21% 44%)
- OKLCH
- oklch(0.406 0.141 290.7)
- OKLab
- oklab(0.406 0.05 -0.132)
- CIE Lab
- lab(28.9 28.04 -46.79)
- LCH
- lch(28.9 54.55 300.9)
- CMYK
- cmyk(46% 63% 0% 44%)
Tinte · Ombre · Toni
Tinte
- 5B499A
- 6B5DA6
- 7C71B2
- 8D84BD
- 9F98C9
- B1ACD4
- C4C1DF
- D7D5EA
- EBEAF4
Ombre
- 412D7B
- 362568
- 2C1D56
- 221544
- 180E34
- 0F0824
- 060315
- 020107
- 000001
Toni
- 503E8D
- 55468D
- 5A4E8C
- 5F568B
- 645D8A
- 696488
- 6F6B86
- 747285
- 7A7982
Armonie di colore
Complementare +180°
- 4C358E
Majestic Eggplant
- 4C4D00
≈ Scorzonera Brown
Analogo -30° +30°
- 4C358E
Majestic Eggplant
- 164494
≈ Space Explorer
- 6A2877
≈ Berry Blackmail
Triadico +120° +240°
- 4C358E
Majestic Eggplant
- 753400
≈ Bay Brown
- 005743
≈ Sacramento State Green
Complementare divisa +150° +210°
- 4C358E
Majestic Eggplant
- 604300
≈ Mud Brown
- 125900
≈ Lincoln Green
Tetradico +90° +180° +270°
- 4C358E
Majestic Eggplant
- 851A26
≈ Antique Ruby
- 4C4D00
≈ Scorzonera Brown
- 005458
≈ Ice Dark Turquoise
Contrasto e accessibilità
Ag
AAASu bianco
WCAG 9.51:1 · APCA Lc 92
Ag
FailSu nero
WCAG 2.20:1 · APCA Lc 11
Miglior colore del testo: #FFFFFF
WCAG 9.51:1 (AAA) · APCA Lc 92
Contrast pairs
Frammenti di codice
CSS
:root {
--majestic-eggplant: #4c358e;
--majestic-eggplant-rgb: 76 53 142;
--majestic-eggplant-oklch: oklch(0.406 0.141 290.7);
}
.element {
color: var(--majestic-eggplant);
background-color: hsl(256 46% 38%);
border-color: oklch(0.406 0.141 290.7);
}Tailwind CSS v4
@theme {
--color-majestic-eggplant: #4c358e;
--color-majestic-eggplant-50: #f6efff;
--color-majestic-eggplant-100: #e9e0ff;
--color-majestic-eggplant-200: #d6caff;
--color-majestic-eggplant-300: #baaaf9;
--color-majestic-eggplant-400: #9f8eeb;
--color-majestic-eggplant-500: #8872db;
--color-majestic-eggplant-600: #7361b9;
--color-majestic-eggplant-700: #5c4d95;
--color-majestic-eggplant-800: #41396f;
--color-majestic-eggplant-900: #2d274f;
--color-majestic-eggplant-950: #1a1534;
}SCSS
$majestic-eggplant: #4c358e;
$majestic-eggplant-rgb: 76, 53, 142;
$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);
}