#1e1021
a deep, soft violet · neutral · closest name: Black
At a glance
Every number on this page in one read: what #1e1021 is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #1e1021 |
| RGB | rgb(30, 16, 33) |
| HSL | hsl(289, 35%, 10%) |
| CMYK | cmyk(9%, 52%, 0%, 87%) |
| LAB | lab(6.8 11.0 -8.9) |
| LCH | lch(6.8 14.1 320.9) |
| OKLCH | oklch(0.201 0.039 320.4) |
| Decimal | 1970209 |
| Display P3 | color(display-p3 0.118 0.063 0.129) |
Copy-ready code
/* CSS */
color: #1e1021;
background-color: #1e1021;
/* Tailwind (arbitrary) */
class="text-[#1e1021] bg-[#1e1021]"
/* SCSS */
$brand: #1e1021;
/* SwiftUI */
Color(red: 0.118, green: 0.063, blue: 0.129)
/* Android */
Color.parseColor("#1e1021")
/* Flutter */
Color(0xFF1E1021)
/* Python / OpenCV (BGR) */
(33, 16, 30)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #1e1021 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F9F5F9;
--brand-100: #F2ECF4;
--brand-200: #E4D4E8;
--brand-300: #D3B3DA;
--brand-400: #BE8EC8;
--brand-500: #A868B6;
--brand-600: #9650A5;
--brand-700: #7D4389;
--brand-800: #64356E;
--brand-900: #4A2A51;
--brand-950: #1e1021;
--brand: #1e1021;
--brand-ink: #ffffff;
}Colors that work with #1e1021
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #1e1021
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Charts, tags and secondary surfaces
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Text on black or near-black surfaces
- ⚠Black text placed on it
- ⚠Pairing with a same-lightness hue — edges vibrate
Similar colors
One move away from this hex in each direction. Every swatch is its own page.
Color relationships
The wheel positions with their names attached, so you can grab the one you actually need.
| Complementary | #132110 | Directly opposite — maximum tension | |
| Analogous left | #151021 | Neighbour, quieter | |
| Analogous right | #21101B | Neighbour, quieter | |
| Split-complement 1 | #1B2110 | Contrast without the clash | |
| Split-complement 2 | #102115 | Contrast without the clash | |
| Triadic 1 | #211E10 | Even thirds — balanced and loud | |
| Triadic 2 | #10211E | Even thirds — balanced and loud | |
| Tetradic | #211510 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#1e1021 text on a black background
contrast 1.15:1
#1e1021 text on a white background
contrast 18.24:1
CSS3 live lab
The quick brown fox
color: #1e1021;
background-color: #1e1021;
Glowing headline
text-shadow: 2px 2px 8px #1e1021;
Soft neon halo
text-shadow: 0 0 14px rgba(30, 16, 33, 0.45);
box-shadow: 0 12px 32px -8px rgba(30, 16, 33, 0.45);
border: 3px solid #1e1021; background: linear-gradient(135deg, #1e1021, #211019);
Monochromatic scale
Palettes built from #1e1021
Shades — darker
Tints — lighter
Color harmonies
Nearest named colors
Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.
Closest color with a full write-up: Jet Black (#0a0a0a) — ΔE2000 13.4 away, with its history, psychology and brand usage.
#1e1021 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Converts to four-color process without much drama. Proof it anyway.
#1e1021, answered
What color is #1e1021?
#1e1021 is a deep soft violet, closest to Black (ΔE2000 13.7). It sits at 289° on the hue wheel with 35% saturation and 10% lightness, which reads as neutral.
What is the RGB value of #1e1021?
rgb(30, 16, 33) — 30 red, 16 green and 33 blue out of 255, or 11.8% / 6.3% / 12.9% by channel.
Is #1e1021 a light or a dark color?
It is a dark color. Relative luminance is 0.0076 and perceived brightness is 9%, so white text on it reaches 18.24:1.
Should I use black or white text on #1e1021?
White. It scores 18.24:1 against #1e1021, versus 1.15:1 for black — AAA at any size.
What is the complementary color of #1e1021?
#132110 sits directly opposite on the wheel. Softer options are the split-complements #1B2110 and #102115, which give the same contrast with far less vibration.
What colors go well with #1e1021?
For interface work: #F9F5FA as the surface, #DFC8E4 for borders, #8C4B9B for secondary text, #17220F as an accent and #4E2A56 for hover and pressed states. For a palette, the analogous pair #151021 and #21101B stays calm, while #132110 is the loudest partner.
What is #1e1021 in CMYK for printing?
cmyk(9%, 52%, 0%, 87%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #1e1021 warm or cool?
Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #21101E; nudged cooler, #180F21.