Nearest named color · #201032
#201032
Nearest named color: Midnight Monarch
#201032 (rgb(32 16 50), hsl(268 52% 13%), oklch(0.216 0.066 303)) is closest to the named color Midnight Monarch. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#201032
oklch(0.216 0.066 303)
Color conversions
- HEX
- #201032
- RGB
- rgb(32 16 50)
- HSL
- hsl(268 52% 13%)
- HWB
- hwb(268 6% 80%)
- OKLCH
- oklch(0.216 0.066 303)
- OKLab
- oklab(0.216 0.036 -0.055)
- CIE Lab
- lab(8 15.1 -19.67)
- LCH
- lch(8 24.8 307.5)
- CMYK
- cmyk(36% 68% 0% 80%)
Tints · Shades · Tones
Tints
- 322444
- 463A57
- 5B506B
- 70667F
- 867E93
- 9D97A8
- B5B0BD
- CDCAD3
- E6E4E9
Shades
- 1A0C2A
- 150922
- 0F061B
- 0A0414
- 06020D
- 030107
- 010003
- 000001
- 000000
Tones
- 281B3A
- 312541
- 3A3049
- 443B51
- 4D4659
- 575161
- 615C68
- 6B6870
- 757478
Color harmonies
Complementary +180°
- 201032
Midnight Monarch
- 151D00
≈ Yuzu Soy
Analogous -30° +30°
- 201032
Midnight Monarch
- 101637
≈ Liberty Blue
- 2A0B26
≈ Dark Prom Queen
Triadic +120° +240°
- 201032
Midnight Monarch
- 291400
≈ Shadow Play
- 001F1B
≈ Stellar Explorer
Split-complementary +150° +210°
- 201032
Midnight Monarch
- 211900
≈ Cannon Black
- 00210C
≈ Clock Chimes Thirteen
Tetradic +90° +180° +270°
- 201032
Midnight Monarch
- 320A04
≈ 3AM Breakup
- 151D00
≈ Yuzu Soy
- 001E24
≈ Stellar Explorer
Contrast & accessibility
Ag
AAAOn white
WCAG 17.77:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.18:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.77:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--midnight-monarch: #201032;
--midnight-monarch-rgb: 32 16 50;
--midnight-monarch-oklch: oklch(0.216 0.066 303);
}
.element {
color: var(--midnight-monarch);
background-color: hsl(268 52% 13%);
border-color: oklch(0.216 0.066 303);
}Tailwind CSS v4
@theme {
--color-midnight-monarch: #201032;
--color-midnight-monarch-50: #f9f1ff;
--color-midnight-monarch-100: #ede3fa;
--color-midnight-monarch-200: #dbceeb;
--color-midnight-monarch-300: #bfafd3;
--color-midnight-monarch-400: #a695bf;
--color-midnight-monarch-500: #8f7caa;
--color-midnight-monarch-600: #796990;
--color-midnight-monarch-700: #615473;
--color-midnight-monarch-800: #463d56;
--color-midnight-monarch-900: #302a3c;
--color-midnight-monarch-950: #1d1826;
}SCSS
$midnight-monarch: #201032;
$midnight-monarch-rgb: 32, 16, 50;
$midnight-monarch-light: mix(#fff, $midnight-monarch, 20%);
$midnight-monarch-dark: mix(#000, $midnight-monarch, 20%);
.element {
color: $midnight-monarch;
box-shadow: 0 0 0 2px rgba($midnight-monarch, 0.35);
}