Skip to content

#78286d

a dark, vivid magenta / pink · neutral · closest name: Purple

RGB
120, 40, 109
HSL
308°, 50%, 31%
CMYK
0, 67, 9, 53
Luminance
0.0661

At a glance

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

Hex
#78286d
Hue
308°
magenta / pink
Saturation
50%
vivid
Lightness
31%
dark
Brightness
47%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0661
WCAG relative
Temperature
Neutral
45/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
9.04:1
Closest name
Purple
ΔE2000 6
Where it sits
Hue308° of 360°
Saturation50%
Lightness31%
Temperature
Warm ← → Cool45% 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#78286d
RGBrgb(120, 40, 109)
HSLhsl(308, 50%, 31%)
CMYKcmyk(0%, 67%, 9%, 53%)
LABlab(30.9 43.4 -22.8)
LCHlch(30.9 49.0 332.3)
OKLCHoklch(0.423 0.140 333.6)
Decimal7874669
Display P3color(display-p3 0.471 0.157 0.427)

Copy-ready code

/* CSS */
color: #78286d;
background-color: #78286d;
/* Tailwind (arbitrary) */
class="text-[#78286d] bg-[#78286d]"
/* SCSS */
$brand: #78286d;
/* SwiftUI */
Color(red: 0.471, green: 0.157, blue: 0.427)
/* Android */
Color.parseColor("#78286d")
/* Flutter */
Color(0xFF78286D)
/* Python / OpenCV (BGR) */
(109, 40, 120)

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

Accessibility — WCAG contrast

Aa
#78286d on white: 9.04:1
AA ✓ pass · AA-large · AAA
Aa
#78286d on black: 2.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #26416F
deuteranopia · #414D6B
tritanopia · #7D2E46

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #78286d is pinned to step 800; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF4FA
#F6EAF4
#ECCFE8
#E3ABDB
#D581C9
#C757B7
#B83DA7
#99338B
#78286d
#592152
#381533
Base = 800Lightest = 50 · #FAF4FADarkest = 950 · #381533
:root {
  --brand-50: #FAF4FA;
  --brand-100: #F6EAF4;
  --brand-200: #ECCFE8;
  --brand-300: #E3ABDB;
  --brand-400: #D581C9;
  --brand-500: #C757B7;
  --brand-600: #B83DA7;
  --brand-700: #99338B;
  --brand-800: #78286d;
  --brand-900: #592152;
  --brand-950: #381533;
  --brand: #78286d;
  --brand-ink: #ffffff;
}

Colors that work with #78286d

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#EBC2E5
Hairlines and dividers
Muted text#9B4B90
Captions on the surface
Accent#2E7B25
Second voice, not a rival
Dark variant#602057
Hover, pressed, headers
Light variant#F9ECF7
Selected rows, tints
Dark surface#241422
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 #78286d

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#287833
Analogous left#5B2878
Analogous right#782845
Split-complement 1#457828
Split-complement 2#28785B
Triadic 1#6D7828
Triadic 2#286D78
Tetradic#785B28

RGB percentages

Red47.1%
Green15.7%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta66.7%
Yellow9.2%
Key (black)52.9%

Color previews

#78286d text on a black background

contrast 2.32:1

Card sample

#78286d text on a white background

contrast 9.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #78286d;
Background color
Panel with #78286d background
background-color: #78286d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #78286d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(120, 40, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 40, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #78286d;
background: linear-gradient(135deg, #78286d, #782838);

Monochromatic scale

Palettes built from #78286d

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.

#78286d 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.

#78286d, answered

What color is #78286d?

#78286d is a dark vivid magenta / pink, closest to Purple (ΔE2000 6). It sits at 308° on the hue wheel with 50% saturation and 31% lightness, which reads as neutral.

What is the RGB value of #78286d?

rgb(120, 40, 109) — 120 red, 40 green and 109 blue out of 255, or 47.1% / 15.7% / 42.7% by channel.

Is #78286d a light or a dark color?

It is a dark color. Relative luminance is 0.0661 and perceived brightness is 32%, so white text on it reaches 9.04:1.

Should I use black or white text on #78286d?

White. It scores 9.04:1 against #78286d, versus 2.32:1 for black — AAA at any size.

What is the complementary color of #78286d?

#287833 sits directly opposite on the wheel. Softer options are the split-complements #457828 and #28785B, which give the same contrast with far less vibration.

What colors go well with #78286d?

For interface work: #FAF4FA as the surface, #EBC2E5 for borders, #9B4B90 for secondary text, #2E7B25 as an accent and #602057 for hover and pressed states. For a palette, the analogous pair #5B2878 and #782845 stays calm, while #287833 is the loudest partner.

What is #78286d in CMYK for printing?

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

Is #78286d warm or cool?

Neutral — it scores 45 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #782850; nudged cooler, #67267A.

Work with #78286d in the Color Lab