Skip to content

#4b034d

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

RGB
75, 3, 77
HSL
298°, 93%, 16%
CMYK
3, 96, 0, 70
Luminance
0.0210

At a glance

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

Hex
#4b034d
Hue
298°
magenta / pink
Saturation
93%
electric
Lightness
16%
deep
Brightness
30%
HSV value
Perceived
19%
weighted brightness
Luminance
0.0210
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
White
14.80:1
Closest name
Indigo
ΔE2000 10.6
Where it sits
Hue298° of 360°
Saturation93%
Lightness16%
Temperature
Warm ← → Cool51% 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#4b034d
RGBrgb(75, 3, 77)
HSLhsl(298, 93%, 16%)
CMYKcmyk(3%, 96%, 0%, 70%)
LABlab(16.0 39.9 -25.7)
LCHlch(16.0 47.5 327.2)
OKLCHoklch(0.293 0.132 327.0)
Decimal4916045
Display P3color(display-p3 0.294 0.012 0.302)

Copy-ready code

/* CSS */
color: #4b034d;
background-color: #4b034d;
/* Tailwind (arbitrary) */
class="text-[#4b034d] bg-[#4b034d]"
/* SCSS */
$brand: #4b034d;
/* SwiftUI */
Color(red: 0.294, green: 0.012, blue: 0.302)
/* Android */
Color.parseColor("#4b034d")
/* Flutter */
Color(0xFF4B034D)
/* Python / OpenCV (BGR) */
(77, 3, 75)

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 #4b034d · 14.80:1
Use #ffffffAAA at every size.
Aa
White text · 14.80: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: #4b034d as text scores 14.80:1 on white and 1.42:1 on black.

Accessibility — WCAG contrast

Aa
#4b034d on white: 14.80:1
AA ✓ pass · AA-large · AAA
Aa
#4b034d on black: 1.42:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #00224F
deuteranopia · #192B4B
tritanopia · #4D132A

Color scale — 50 to 950

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

#FDF2FD
#FAE4FB
#F8C3F9
#F893FB
#F55DF9
#F127F7
#E609EC
#BF08C4
#99069D
#6F0971
#4b034d
Base = 950Lightest = 50 · #FDF2FDDarkest = 950 · #4b034d
:root {
  --brand-50: #FDF2FD;
  --brand-100: #FAE4FB;
  --brand-200: #F8C3F9;
  --brand-300: #F893FB;
  --brand-400: #F55DF9;
  --brand-500: #F127F7;
  --brand-600: #E609EC;
  --brand-700: #BF08C4;
  --brand-800: #99069D;
  --brand-900: #6F0971;
  --brand-950: #4b034d;
  --brand: #4b034d;
  --brand-ink: #ffffff;
}

Colors that work with #4b034d

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#EBC0ED
Hairlines and dividers
Muted text#994B9B
Captions on the surface
Accent#174F01
Second voice, not a rival
Dark variant#78057B
Hover, pressed, headers
Light variant#FDE6FE
Selected rows, tints
Dark surface#241424
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 #4b034d

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#054D03
Analogous left#26034D
Analogous right#4D032A
Split-complement 1#2A4D03
Split-complement 2#034D26
Triadic 1#4D4B03
Triadic 2#034D4B
Tetradic#4D2603

RGB percentages

Red29.4%
Green1.2%
Blue30.2%

CMYK percentages

Cyan2.6%
Magenta96.1%
Yellow0.0%
Key (black)69.8%

Color previews

#4b034d text on a black background

contrast 1.42:1

Card sample

#4b034d text on a white background

contrast 14.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 3, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 3, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b034d;
background: linear-gradient(135deg, #4b034d, #4D031E);

Monochromatic scale

Palettes built from #4b034d

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.

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

#4b034d, answered

What color is #4b034d?

#4b034d is a deep electric magenta / pink, closest to Indigo (ΔE2000 10.6). It sits at 298° on the hue wheel with 93% saturation and 16% lightness, which reads as neutral.

What is the RGB value of #4b034d?

rgb(75, 3, 77) — 75 red, 3 green and 77 blue out of 255, or 29.4% / 1.2% / 30.2% by channel.

Is #4b034d a light or a dark color?

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

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

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

What is the complementary color of #4b034d?

#054D03 sits directly opposite on the wheel. Softer options are the split-complements #2A4D03 and #034D26, which give the same contrast with far less vibration.

What colors go well with #4b034d?

For interface work: #FAF4FA as the surface, #EBC0ED for borders, #994B9B for secondary text, #174F01 as an accent and #78057B for hover and pressed states. For a palette, the analogous pair #26034D and #4D032A stays calm, while #054D03 is the loudest partner.

What is #4b034d in CMYK for printing?

cmyk(3%, 96%, 0%, 70%). 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 #4b034d warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4D0334; nudged cooler, #30024E.

Work with #4b034d in the Color Lab