Skip to content

#4f0739

a deep, electric magenta / pink · warm · closest name: Purple

RGB
79, 7, 57
HSL
318°, 84%, 17%
CMYK
0, 91, 28, 69
Luminance
0.0211

At a glance

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

Hex
#4f0739
Hue
318°
magenta / pink
Saturation
84%
electric
Lightness
17%
deep
Brightness
31%
HSV value
Perceived
19%
weighted brightness
Luminance
0.0211
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
14.77:1
Closest name
Purple
ΔE2000 14.7
Where it sits
Hue318° of 360°
Saturation84%
Lightness17%
Temperature
Warm ← → Cool40% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#4f0739
RGBrgb(79, 7, 57)
HSLhsl(318, 84%, 17%)
CMYKcmyk(0%, 91%, 28%, 69%)
LABlab(16.1 36.3 -11.6)
LCHlch(16.1 38.1 342.3)
OKLCHoklch(0.292 0.114 344.3)
Decimal5179193
Display P3color(display-p3 0.310 0.027 0.224)

Copy-ready code

/* CSS */
color: #4f0739;
background-color: #4f0739;
/* Tailwind (arbitrary) */
class="text-[#4f0739] bg-[#4f0739]"
/* SCSS */
$brand: #4f0739;
/* SwiftUI */
Color(red: 0.310, green: 0.027, blue: 0.224)
/* Android */
Color.parseColor("#4f0739")
/* Flutter */
Color(0xFF4F0739)
/* Python / OpenCV (BGR) */
(57, 7, 79)

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

Accessibility — WCAG contrast

Aa
#4f0739 on white: 14.77:1
AA ✓ pass · AA-large · AAA
Aa
#4f0739 on black: 1.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #11203A
deuteranopia · #282C37
tritanopia · #550620

Color scale — 50 to 950

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

#FCF2F9
#FAE6F4
#F6C5E7
#F698D9
#F164C6
#ED31B3
#E114A2
#BB1187
#960D6C
#6C0E50
#4f0739
Base = 950Lightest = 50 · #FCF2F9Darkest = 950 · #4f0739
:root {
  --brand-50: #FCF2F9;
  --brand-100: #FAE6F4;
  --brand-200: #F6C5E7;
  --brand-300: #F698D9;
  --brand-400: #F164C6;
  --brand-500: #ED31B3;
  --brand-600: #E114A2;
  --brand-700: #BB1187;
  --brand-800: #960D6C;
  --brand-900: #6C0E50;
  --brand-950: #4f0739;
  --brand: #4f0739;
  --brand-ink: #ffffff;
}

Colors that work with #4f0739

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#FAF4F9
Tinted page background
Border#EDC0DF
Hairlines and dividers
Muted text#9B4B82
Captions on the surface
Accent#055109
Second voice, not a rival
Dark variant#750A55
Hover, pressed, headers
Light variant#FDE8F6
Selected rows, tints
Dark surface#24141F
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 #4f0739

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#074F1D
Analogous left#41074F
Analogous right#4F0715
Split-complement 1#154F07
Split-complement 2#074F41
Triadic 1#394F07
Triadic 2#07394F
Tetradic#4F4107

RGB percentages

Red31.0%
Green2.7%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta91.1%
Yellow27.8%
Key (black)69.0%

Color previews

#4f0739 text on a black background

contrast 1.42:1

Card sample

#4f0739 text on a white background

contrast 14.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4f0739;
Background color
Panel with #4f0739 background
background-color: #4f0739;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4f0739;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(79, 7, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 7, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f0739;
background: linear-gradient(135deg, #4f0739, #4F0709);

Monochromatic scale

Palettes built from #4f0739

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.

#4f0739 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.

#4f0739, answered

What color is #4f0739?

#4f0739 is a deep electric magenta / pink, closest to Purple (ΔE2000 14.7). It sits at 318° on the hue wheel with 84% saturation and 17% lightness, which reads as warm.

What is the RGB value of #4f0739?

rgb(79, 7, 57) — 79 red, 7 green and 57 blue out of 255, or 31% / 2.7% / 22.4% by channel.

Is #4f0739 a light or a dark color?

It is a dark color. Relative luminance is 0.0211 and perceived brightness is 19%, so white text on it reaches 14.77:1.

Should I use black or white text on #4f0739?

White. It scores 14.77:1 against #4f0739, versus 1.42:1 for black — AAA at any size.

What is the complementary color of #4f0739?

#074F1D sits directly opposite on the wheel. Softer options are the split-complements #154F07 and #074F41, which give the same contrast with far less vibration.

What colors go well with #4f0739?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B82 for secondary text, #055109 as an accent and #750A55 for hover and pressed states. For a palette, the analogous pair #41074F and #4F0715 stays calm, while #074F1D is the loudest partner.

What is #4f0739 in CMYK for printing?

cmyk(0%, 91%, 28%, 69%). 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 #4f0739 warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4F071F; nudged cooler, #4B0650.

Work with #4f0739 in the Color Lab