Nearest named color · #3C3979
#3C3979
Nearest named color: Evening Magic
#3C3979 (rgb(60 57 121), hsl(243 36% 35%), oklch(0.383 0.106 282.3)) is closest to the named color Evening Magic. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#3C3979
oklch(0.383 0.106 282.3)
Color conversions
- HEX
- #3c3979
- RGB
- rgb(60 57 121)
- HSL
- hsl(243 36% 35%)
- HWB
- hwb(243 22% 53%)
- OKLCH
- oklch(0.383 0.106 282.3)
- OKLab
- oklab(0.383 0.023 -0.103)
- CIE Lab
- lab(27.01 15.79 -36.87)
- LCH
- lch(27.01 40.11 293.2)
- CMYK
- cmyk(50% 53% 0% 53%)
Tints · Shades · Tones
Tints
- 4C4C87
- 5E5E94
- 7071A2
- 8385AF
- 9698BC
- AAACCA
- BFC0D7
- D4D5E4
- E9EAF2
Shades
- 333068
- 2A2858
- 211F48
- 191739
- 11102B
- 0A091D
- 040410
- 010105
- 000001
Tones
- 42417A
- 48487C
- 4E4F7D
- 55567E
- 5C5D7E
- 63647F
- 6A6B80
- 717280
- 797980
Color harmonies
Complementary +180°
- 3C3979
Evening Magic
- 4C4400
≈ Roman Bronze
Analogous -30° +30°
- 3C3979
Evening Magic
- 0C4479
≈ Twilight Blue
- 562F6B
≈ Imperial Purple
Triadic +120° +240°
- 3C3979
Evening Magic
- 6F2B0A
≈ Cold Press Coffee
- 005035
≈ Trapper Green
Split-complementary +150° +210°
- 3C3979
Evening Magic
- 5D3B00
≈ Hippogriff Brown
- 2C4E01
≈ Navy Green
Tetradic +90° +180° +270°
- 3C3979
Evening Magic
- 702533
≈ Merlot Fields
- 4C4400
≈ Roman Bronze
- 004E4C
≈ Antique Turquoise
Contrast & accessibility
Ag
AAAOn white
WCAG 10.22:1 · APCA Lc 94
Ag
FailOn black
WCAG 2.05:1 · APCA Lc 9
Best text color: #FFFFFF
WCAG 10.22:1 (AAA) · APCA Lc 94
Contrast pairs
Code snippets
CSS
:root {
--evening-magic: #3c3979;
--evening-magic-rgb: 60 57 121;
--evening-magic-oklch: oklch(0.383 0.106 282.3);
}
.element {
color: var(--evening-magic);
background-color: hsl(243 36% 35%);
border-color: oklch(0.383 0.106 282.3);
}Tailwind CSS v4
@theme {
--color-evening-magic: #3c3979;
--color-evening-magic-50: #f1f2ff;
--color-evening-magic-100: #e3e4ff;
--color-evening-magic-200: #cecfff;
--color-evening-magic-300: #b1b0ec;
--color-evening-magic-400: #9597db;
--color-evening-magic-500: #7c7cca;
--color-evening-magic-600: #6969aa;
--color-evening-magic-700: #545489;
--color-evening-magic-800: #3c3e66;
--color-evening-magic-900: #292a48;
--color-evening-magic-950: #17182f;
}SCSS
$evening-magic: #3c3979;
$evening-magic-rgb: 60, 57, 121;
$evening-magic-light: mix(#fff, $evening-magic, 20%);
$evening-magic-dark: mix(#000, $evening-magic, 20%);
.element {
color: $evening-magic;
box-shadow: 0 0 0 2px rgba($evening-magic, 0.35);
}