Skip to content

#802491

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

RGB
128, 36, 145
HSL
291°, 60%, 36%
CMYK
12, 75, 0, 43
Luminance
0.0790

At a glance

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

Hex
#802491
Hue
291°
magenta / pink
Saturation
60%
vivid
Lightness
36%
dark
Brightness
57%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0790
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
8.14:1
Closest name
Dark Magenta
ΔE2000 3.5
Where it sits
Hue291° of 360°
Saturation60%
Lightness36%
Temperature
Warm ← → Cool55% 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#802491
RGBrgb(128, 36, 145)
HSLhsl(291, 60%, 36%)
CMYKcmyk(12%, 75%, 0%, 43%)
LABlab(33.8 53.5 -40.7)
LCHlch(33.8 67.2 322.8)
OKLCHoklch(0.453 0.180 320.9)
Decimal8397969
Display P3color(display-p3 0.502 0.141 0.569)

Copy-ready code

/* CSS */
color: #802491;
background-color: #802491;
/* Tailwind (arbitrary) */
class="text-[#802491] bg-[#802491]"
/* SCSS */
$brand: #802491;
/* SwiftUI */
Color(red: 0.502, green: 0.141, blue: 0.569)
/* Android */
Color.parseColor("#802491")
/* Flutter */
Color(0xFF802491)
/* Python / OpenCV (BGR) */
(145, 36, 128)

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

Accessibility — WCAG contrast

Aa
#802491 on white: 8.14:1
AA ✓ pass · AA-large · AAA
Aa
#802491 on black: 2.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004994
deuteranopia · #30538E
tritanopia · #813959

Color scale — 50 to 950

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

#FAF4FB
#F5E9F7
#EACCEF
#DEA5E9
#CE78DE
#BD4BD2
#AD31C4
#9029A3
#802491
#541B5F
#35113B
Base = 800Lightest = 50 · #FAF4FBDarkest = 950 · #35113B
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F5E9F7;
  --brand-200: #EACCEF;
  --brand-300: #DEA5E9;
  --brand-400: #CE78DE;
  --brand-500: #BD4BD2;
  --brand-600: #AD31C4;
  --brand-700: #9029A3;
  --brand-800: #802491;
  --brand-900: #541B5F;
  --brand-950: #35113B;
  --brand: #802491;
  --brand-ink: #ffffff;
}

Colors that work with #802491

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#F9F4FA
Tinted page background
Border#E6C0ED
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#509520
Second voice, not a rival
Dark variant#5A1966
Hover, pressed, headers
Light variant#F8EBFA
Selected rows, tints
Dark surface#221424
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 #802491

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#359124
Analogous left#492491
Analogous right#91246C
Split-complement 1#6C9124
Split-complement 2#249149
Triadic 1#918024
Triadic 2#249180
Tetradic#914924

RGB percentages

Red50.2%
Green14.1%
Blue56.9%

CMYK percentages

Cyan11.7%
Magenta75.2%
Yellow0.0%
Key (black)43.1%

Color previews

#802491 text on a black background

contrast 2.58:1

Card sample

#802491 text on a white background

contrast 8.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 36, 145, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 36, 145, 0.45);
Border & gradient
Gradient panel
border: 3px solid #802491;
background: linear-gradient(135deg, #802491, #912459);

Monochromatic scale

Palettes built from #802491

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.

#802491 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.

#802491, answered

What color is #802491?

#802491 is a dark vivid magenta / pink, closest to Dark Magenta (ΔE2000 3.5). It sits at 291° on the hue wheel with 60% saturation and 36% lightness, which reads as neutral.

What is the RGB value of #802491?

rgb(128, 36, 145) — 128 red, 36 green and 145 blue out of 255, or 50.2% / 14.1% / 56.9% by channel.

Is #802491 a light or a dark color?

It is a dark color. Relative luminance is 0.0790 and perceived brightness is 35%, so white text on it reaches 8.14:1.

Should I use black or white text on #802491?

White. It scores 8.14:1 against #802491, versus 2.58:1 for black — AAA at any size.

What is the complementary color of #802491?

#359124 sits directly opposite on the wheel. Softer options are the split-complements #6C9124 and #249149, which give the same contrast with far less vibration.

What colors go well with #802491?

For interface work: #F9F4FA as the surface, #E6C0ED for borders, #8E4B9B for secondary text, #509520 as an accent and #5A1966 for hover and pressed states. For a palette, the analogous pair #492491 and #91246C stays calm, while #359124 is the loudest partner.

What is #802491 in CMYK for printing?

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

Is #802491 warm or cool?

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

Work with #802491 in the Color Lab