Skip to content

#4f0f39

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

RGB
79, 15, 57
HSL
321°, 68%, 18%
CMYK
0, 81, 28, 69
Luminance
0.0230

At a glance

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

Hex
#4f0f39
Hue
321°
magenta / pink
Saturation
68%
vivid
Lightness
18%
deep
Brightness
31%
HSV value
Perceived
19%
weighted brightness
Luminance
0.0230
WCAG relative
Temperature
Warm
39/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
14.38:1
Closest name
Purple
ΔE2000 15.1
Where it sits
Hue321° of 360°
Saturation68%
Lightness18%
Temperature
Warm ← → Cool39% 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#4f0f39
RGBrgb(79, 15, 57)
HSLhsl(321, 68%, 18%)
CMYKcmyk(0%, 81%, 28%, 69%)
LABlab(17.0 33.6 -10.1)
LCHlch(17.0 35.1 343.2)
OKLCHoklch(0.298 0.105 345.2)
Decimal5181241
Display P3color(display-p3 0.310 0.059 0.224)

Copy-ready code

/* CSS */
color: #4f0f39;
background-color: #4f0f39;
/* Tailwind (arbitrary) */
class="text-[#4f0f39] bg-[#4f0f39]"
/* SCSS */
$brand: #4f0f39;
/* SwiftUI */
Color(red: 0.310, green: 0.059, blue: 0.224)
/* Android */
Color.parseColor("#4f0f39")
/* Flutter */
Color(0xFF4F0F39)
/* Python / OpenCV (BGR) */
(57, 15, 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 #4f0f39 · 14.38:1
Use #ffffffAAA at every size.
Aa
White text · 14.38:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.46:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4f0f39 as text scores 14.38:1 on white and 1.46:1 on black.

Accessibility — WCAG contrast

Aa
#4f0f39 on white: 14.38:1
AA ✓ pass · AA-large · AAA
Aa
#4f0f39 on black: 1.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #17233A
deuteranopia · #2A2E38
tritanopia · #550E22

Color scale — 50 to 950

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

#FBF3F9
#F8E8F2
#F2CAE4
#EDA1D3
#E472BD
#DB42A7
#CE2795
#AB217C
#891A63
#641749
#4f0f39
Base = 950Lightest = 50 · #FBF3F9Darkest = 950 · #4f0f39
:root {
  --brand-50: #FBF3F9;
  --brand-100: #F8E8F2;
  --brand-200: #F2CAE4;
  --brand-300: #EDA1D3;
  --brand-400: #E472BD;
  --brand-500: #DB42A7;
  --brand-600: #CE2795;
  --brand-700: #AB217C;
  --brand-800: #891A63;
  --brand-900: #641749;
  --brand-950: #4f0f39;
  --brand: #4f0f39;
  --brand-ink: #ffffff;
}

Colors that work with #4f0f39

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#FAF4F8
Tinted page background
Border#EDC0DD
Hairlines and dividers
Muted text#9B4B7F
Captions on the surface
Accent#0D5113
Second voice, not a rival
Dark variant#6B144D
Hover, pressed, headers
Light variant#FBEAF5
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 #4f0f39

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#0F4F25
Analogous left#450F4F
Analogous right#4F0F19
Split-complement 1#194F0F
Split-complement 2#0F4F45
Triadic 1#394F0F
Triadic 2#0F394F
Tetradic#4F450F

RGB percentages

Red31.0%
Green5.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta81.0%
Yellow27.8%
Key (black)69.0%

Color previews

#4f0f39 text on a black background

contrast 1.46:1

Card sample

#4f0f39 text on a white background

contrast 14.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f0f39

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.

#4f0f39 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

Converts to four-color process without much drama. Proof it anyway.

#4f0f39, answered

What color is #4f0f39?

#4f0f39 is a deep vivid magenta / pink, closest to Purple (ΔE2000 15.1). It sits at 321° on the hue wheel with 68% saturation and 18% lightness, which reads as warm.

What is the RGB value of #4f0f39?

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

Is #4f0f39 a light or a dark color?

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

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

White. It scores 14.38:1 against #4f0f39, versus 1.46:1 for black — AAA at any size.

What is the complementary color of #4f0f39?

#0F4F25 sits directly opposite on the wheel. Softer options are the split-complements #194F0F and #0F4F45, which give the same contrast with far less vibration.

What colors go well with #4f0f39?

For interface work: #FAF4F8 as the surface, #EDC0DD for borders, #9B4B7F for secondary text, #0D5113 as an accent and #6B144D for hover and pressed states. For a palette, the analogous pair #450F4F and #4F0F19 stays calm, while #0F4F25 is the loudest partner.

What is #4f0f39 in CMYK for printing?

cmyk(0%, 81%, 28%, 69%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #4f0f39 warm or cool?

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

Work with #4f0f39 in the Color Lab