Couleur nommée la plus proche · #4C003C
#4C003C
Couleur nommée la plus proche: Eggplant
#4C003C (rgb(76 0 60), hsl(313 100% 15%), oklch(0.282 0.123 339.5)) est la plus proche de la couleur nommée Eggplant. Teintes, ombres, harmonies, contraste WCAG et APCA, et code CSS, Tailwind v4 et SCSS.
#4C003C
oklch(0.282 0.123 339.5)
Conversions de couleur
- HEX
- #4c003c
- RGB
- rgb(76 0 60)
- HSL
- hsl(313 100% 15%)
- HWB
- hwb(313 0% 70%)
- OKLCH
- oklch(0.282 0.123 339.5)
- OKLab
- oklab(0.282 0.115 -0.043)
- CIE Lab
- lab(14.85 37.12 -15.39)
- LCH
- lch(14.85 40.19 337.5)
- CMYK
- cmyk(0% 100% 21% 70%)
Teintes · Ombres · Tons
Teintes
- 5E1E4E
- 713760
- 834E72
- 946685
- A67E98
- B897AC
- CAB0C0
- DBCAD5
- EDE4EA
Ombres
- 410033
- 36002A
- 2C0021
- 220019
- 180011
- 0F000A
- 060004
- 020001
- 000000
Tons
- 521343
- 592149
- 5F2D50
- 643957
- 69455E
- 6F5164
- 735D6B
- 786872
- 7C7479
Harmonies de couleurs
Complémentaire +180°
- 4C003C
Eggplant
- 00331E
≈ Nightly Woods
Analogue -30° +30°
- 4C003C
Eggplant
- 3B0D55
≈ Wicked Purple
- 52001D
≈ Fig Balsamic
Triadique +120° +240°
- 4C003C
Eggplant
- 302900
≈ Secret Passage
- 002F3A
≈ Black Chasm
Complémentaire divisée +150° +210°
- 4C003C
Eggplant
- 1D3000
≈ Blind Forest
- 00312E
≈ Roof Tile Green
Tétradique +90° +180° +270°
Contraste et accessibilité
Ag
AAASur blanc
WCAG 15.30:1 · APCA Lc 101
Ag
FailSur noir
WCAG 1.37:1 · APCA Lc 0
Meilleure couleur de texte: #FFFFFF
WCAG 15.30:1 (AAA) · APCA Lc 101
Contrast pairs
Extraits de code
CSS
:root {
--eggplant: #4c003c;
--eggplant-rgb: 76 0 60;
--eggplant-oklch: oklch(0.282 0.123 339.5);
}
.element {
color: var(--eggplant);
background-color: hsl(313 100% 15%);
border-color: oklch(0.282 0.123 339.5);
}Tailwind CSS v4
@theme {
--color-eggplant: #4c003c;
--color-eggplant-50: #ffe8ff;
--color-eggplant-100: #ffd8f4;
--color-eggplant-200: #fac0e3;
--color-eggplant-300: #e39fca;
--color-eggplant-400: #ce81b6;
--color-eggplant-500: #ba63a0;
--color-eggplant-600: #9d5487;
--color-eggplant-700: #7e436c;
--color-eggplant-800: #5d3051;
--color-eggplant-900: #412139;
--color-eggplant-950: #291023;
}SCSS
$eggplant: #4c003c;
$eggplant-rgb: 76, 0, 60;
$eggplant-light: mix(#fff, $eggplant, 20%);
$eggplant-dark: mix(#000, $eggplant, 20%);
.element {
color: $eggplant;
box-shadow: 0 0 0 2px rgba($eggplant, 0.35);
}