Skip to content

#1e1021

a deep, soft violet · neutral · closest name: Black

RGB
30, 16, 33
HSL
289°, 35%, 10%
CMYK
9, 52, 0, 87
Luminance
0.0076

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.

Hex
#1e1021
Hue
289°
violet
Saturation
35%
soft
Lightness
10%
deep
Brightness
13%
HSV value
Perceived
9%
weighted brightness
Luminance
0.0076
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Soft
Best ink
White
18.24:1
Closest name
Black
ΔE2000 13.7
Where it sits
Hue289° of 360°
Saturation35%
Lightness10%
Temperature
Warm ← → Cool56% cool

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
RGBrgb(30, 16, 33)
HSLhsl(289, 35%, 10%)
CMYKcmyk(9%, 52%, 0%, 87%)
LABlab(6.8 11.0 -8.9)
LCHlch(6.8 14.1 320.9)
OKLCHoklch(0.201 0.039 320.4)
Decimal1970209
Display P3color(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.

Readable at a glance#ffffff on #1e1021 · 18.24:1
Use #ffffffAAA at every size.
Aa
White text · 18.24:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.15:1
AA fail · AA large fail · AAA fail
Reading the other direction: #1e1021 as text scores 18.24:1 on white and 1.15:1 on black.

Accessibility — WCAG contrast

Aa
#1e1021 on white: 18.24:1
AA ✓ pass · AA-large · AAA
Aa
#1e1021 on black: 1.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0E1422
deuteranopia · #111620
tritanopia · #1E1216

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.

#F9F5F9
#F2ECF4
#E4D4E8
#D3B3DA
#BE8EC8
#A868B6
#9650A5
#7D4389
#64356E
#4A2A51
#1e1021
Base = 950Lightest = 50 · #F9F5F9Darkest = 950 · #1e1021
: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.

Text on it#ffffff
White wins here
Surface#F9F5FA
Tinted page background
Border#DFC8E4
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#17220F
Second voice, not a rival
Dark variant#4E2A56
Hover, pressed, headers
Light variant#F5EEF7
Selected rows, tints
Dark surface#211424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #1e1021

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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
Analogous left#151021
Analogous right#21101B
Split-complement 1#1B2110
Split-complement 2#102115
Triadic 1#211E10
Triadic 2#10211E
Tetradic#211510

RGB percentages

Red11.8%
Green6.3%
Blue12.9%

CMYK percentages

Cyan9.1%
Magenta51.5%
Yellow0.0%
Key (black)87.1%

Color previews

#1e1021 text on a black background

contrast 1.15:1

Card sample

#1e1021 text on a white background

contrast 18.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1e1021;
Background color
Panel with #1e1021 background
background-color: #1e1021;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1e1021;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(30, 16, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(30, 16, 33, 0.45);
Border & gradient
Gradient panel
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.

#1e1021 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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.

Work with #1e1021 in the Color Lab