Skip to content

#3f0939

a deep, electric magenta / pink · neutral · closest name: Indigo

RGB
63, 9, 57
HSL
307°, 75%, 14%
CMYK
0, 86, 10, 75
Luminance
0.0155

At a glance

Every number on this page in one read: what #3f0939 is made of, how bright it looks, and which way it leans.

Hex
#3f0939
Hue
307°
magenta / pink
Saturation
75%
electric
Lightness
14%
deep
Brightness
25%
HSV value
Perceived
16%
weighted brightness
Luminance
0.0155
WCAG relative
Temperature
Neutral
46/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
16.04:1
Closest name
Indigo
ΔE2000 15
Where it sits
Hue307° of 360°
Saturation75%
Lightness14%
Temperature
Warm ← → Cool46% 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#3f0939
RGBrgb(63, 9, 57)
HSLhsl(307, 75%, 14%)
CMYKcmyk(0%, 86%, 10%, 75%)
LABlab(12.9 31.4 -16.7)
LCHlch(12.9 35.6 331.9)
OKLCHoklch(0.263 0.102 333.1)
Decimal4131129
Display P3color(display-p3 0.247 0.035 0.224)

Copy-ready code

/* CSS */
color: #3f0939;
background-color: #3f0939;
/* Tailwind (arbitrary) */
class="text-[#3f0939] bg-[#3f0939]"
/* SCSS */
$brand: #3f0939;
/* SwiftUI */
Color(red: 0.247, green: 0.035, blue: 0.224)
/* Android */
Color.parseColor("#3f0939")
/* Flutter */
Color(0xFF3F0939)
/* Python / OpenCV (BGR) */
(57, 9, 63)

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 #3f0939 · 16.04:1
Use #ffffffAAA at every size.
Aa
White text · 16.04:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.31:1
AA fail · AA large fail · AAA fail
Reading the other direction: #3f0939 as text scores 16.04:1 on white and 1.31:1 on black.

Accessibility — WCAG contrast

Aa
#3f0939 on white: 16.04:1
AA ✓ pass · AA-large · AAA
Aa
#3f0939 on black: 1.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #071C3A
deuteranopia · #1B2438
tritanopia · #420F20

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #3f0939 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.

#FCF3FB
#F9E7F7
#F4C8EF
#F19DE8
#EA6CDC
#E33BD0
#D61FC2
#B319A1
#8F1481
#67135E
#3f0939
Base = 950Lightest = 50 · #FCF3FBDarkest = 950 · #3f0939
:root {
  --brand-50: #FCF3FB;
  --brand-100: #F9E7F7;
  --brand-200: #F4C8EF;
  --brand-300: #F19DE8;
  --brand-400: #EA6CDC;
  --brand-500: #E33BD0;
  --brand-600: #D61FC2;
  --brand-700: #B319A1;
  --brand-800: #8F1481;
  --brand-900: #67135E;
  --brand-950: #3f0939;
  --brand: #3f0939;
  --brand-ink: #ffffff;
}

Colors that work with #3f0939

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#FAF4FA
Tinted page background
Border#EDC0E8
Hairlines and dividers
Muted text#9B4B92
Captions on the surface
Accent#0F4008
Second voice, not a rival
Dark variant#701065
Hover, pressed, headers
Light variant#FCE9FA
Selected rows, tints
Dark surface#241423
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 #3f0939

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#093F0F
Analogous left#2A093F
Analogous right#3F091E
Split-complement 1#1E3F09
Split-complement 2#093F2A
Triadic 1#393F09
Triadic 2#09393F
Tetradic#3F2A09

RGB percentages

Red24.7%
Green3.5%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta85.7%
Yellow9.5%
Key (black)75.3%

Color previews

#3f0939 text on a black background

contrast 1.31:1

Card sample

#3f0939 text on a white background

contrast 16.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3f0939;
Background color
Panel with #3f0939 background
background-color: #3f0939;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3f0939;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(63, 9, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 9, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f0939;
background: linear-gradient(135deg, #3f0939, #3F0915);

Monochromatic scale

Palettes built from #3f0939

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.

#3f0939 in the real world

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

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#3f0939, answered

What color is #3f0939?

#3f0939 is a deep electric magenta / pink, closest to Indigo (ΔE2000 15). It sits at 307° on the hue wheel with 75% saturation and 14% lightness, which reads as neutral.

What is the RGB value of #3f0939?

rgb(63, 9, 57) — 63 red, 9 green and 57 blue out of 255, or 24.7% / 3.5% / 22.4% by channel.

Is #3f0939 a light or a dark color?

It is a dark color. Relative luminance is 0.0155 and perceived brightness is 16%, so white text on it reaches 16.04:1.

Should I use black or white text on #3f0939?

White. It scores 16.04:1 against #3f0939, versus 1.31:1 for black — AAA at any size.

What is the complementary color of #3f0939?

#093F0F sits directly opposite on the wheel. Softer options are the split-complements #1E3F09 and #093F2A, which give the same contrast with far less vibration.

What colors go well with #3f0939?

For interface work: #FAF4FA as the surface, #EDC0E8 for borders, #9B4B92 for secondary text, #0F4008 as an accent and #701065 for hover and pressed states. For a palette, the analogous pair #2A093F and #3F091E stays calm, while #093F0F is the loudest partner.

What is #3f0939 in CMYK for printing?

cmyk(0%, 86%, 10%, 75%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #3f0939 warm or cool?

Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3F0925; nudged cooler, #320840.

Work with #3f0939 in the Color Lab