Nearest named color · #1B0948
#1B0948
Nearest named color: Silent Twilight
#1B0948 (rgb(27 9 72), hsl(257 78% 16%), oklch(0.22 0.107 287)) is closest to the named color Silent Twilight. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1B0948
oklch(0.22 0.107 287)
Color conversions
- HEX
- #1b0948
- RGB
- rgb(27 9 72)
- HSL
- hsl(257 78% 16%)
- HWB
- hwb(257 4% 72%)
- OKLCH
- oklch(0.22 0.107 287)
- OKLab
- oklab(0.22 0.031 -0.102)
- CIE Lab
- lab(7.52 23.72 -36.23)
- LCH
- lch(7.52 43.31 303.2)
- CMYK
- cmyk(63% 88% 0% 72%)
Tints · Shades · Tones
Tints
- 2C225A
- 3F396C
- 54507E
- 6A6790
- 807FA2
- 9897B5
- B1B0C7
- CACAD9
- E4E4EC
Shades
- 16073D
- 110533
- 0C0329
- 08021F
- 050116
- 02010D
- 010006
- 000002
- 000000
Tones
- 23174E
- 2B2455
- 342F5B
- 3E3B60
- 484666
- 53516C
- 5E5D71
- 696876
- 74747B
Color harmonies
Complementary +180°
- 1B0948
Silent Twilight
- 1D1C00
≈ Liquorice Root
Analogous -30° +30°
- 1B0948
Silent Twilight
- 00193E
≈ Maastricht Blue
- 2D003A
≈ Poisonous Purple
Triadic +120° +240°
- 1B0948
Silent Twilight
- 300F00
≈ Chocolate Melange
- 002116
≈ Clock Chimes Thirteen
Split-complementary +150° +210°
- 1B0948
Silent Twilight
- 261700
≈ Cannon Black
- 092100
≈ Rainforest Nights
Tetradic +90° +180° +270°
- 1B0948
Silent Twilight
- 3A000B
≈ Dark Maroon
- 1D1C00
≈ Liquorice Root
- 002021
≈ Stellar Explorer
Contrast & accessibility
Ag
AAAOn white
WCAG 17.80:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.80:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--silent-twilight: #1b0948;
--silent-twilight-rgb: 27 9 72;
--silent-twilight-oklch: oklch(0.22 0.107 287);
}
.element {
color: var(--silent-twilight);
background-color: hsl(257 78% 16%);
border-color: oklch(0.22 0.107 287);
}Tailwind CSS v4
@theme {
--color-silent-twilight: #1b0948;
--color-silent-twilight-50: #f3f1ff;
--color-silent-twilight-100: #e6e3ff;
--color-silent-twilight-200: #d2cdff;
--color-silent-twilight-300: #b5afeb;
--color-silent-twilight-400: #9a95da;
--color-silent-twilight-500: #827ac9;
--color-silent-twilight-600: #6e68aa;
--color-silent-twilight-700: #585388;
--color-silent-twilight-800: #3f3d66;
--color-silent-twilight-900: #2b2a47;
--color-silent-twilight-950: #19172f;
}SCSS
$silent-twilight: #1b0948;
$silent-twilight-rgb: 27, 9, 72;
$silent-twilight-light: mix(#fff, $silent-twilight, 20%);
$silent-twilight-dark: mix(#000, $silent-twilight, 20%);
.element {
color: $silent-twilight;
box-shadow: 0 0 0 2px rgba($silent-twilight, 0.35);
}