Skip to content

#782889

a dark, vivid violet · neutral · closest name: Purple

RGB
120, 40, 137
HSL
290°, 55%, 35%
CMYK
12, 71, 0, 46
Luminance
0.0732

At a glance

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

Hex
#782889
Hue
290°
violet
Saturation
55%
vivid
Lightness
35%
dark
Brightness
54%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0732
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
8.52:1
Closest name
Purple
ΔE2000 4.4
Where it sits
Hue290° of 360°
Saturation55%
Lightness35%
Temperature
Warm ← → Cool56% 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#782889
RGBrgb(120, 40, 137)
HSLhsl(290, 55%, 35%)
CMYKcmyk(12%, 71%, 0%, 46%)
LABlab(32.5 48.6 -37.8)
LCHlch(32.5 61.6 322.1)
OKLCHoklch(0.440 0.165 320.1)
Decimal7874697
Display P3color(display-p3 0.471 0.157 0.537)

Copy-ready code

/* CSS */
color: #782889;
background-color: #782889;
/* Tailwind (arbitrary) */
class="text-[#782889] bg-[#782889]"
/* SCSS */
$brand: #782889;
/* SwiftUI */
Color(red: 0.471, green: 0.157, blue: 0.537)
/* Android */
Color.parseColor("#782889")
/* Flutter */
Color(0xFF782889)
/* Python / OpenCV (BGR) */
(137, 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 #782889 · 8.52:1
Use #ffffffAAA at every size.
Aa
White text · 8.52:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.46:1
AA fail · AA large fail · AAA fail
Reading the other direction: #782889 as text scores 8.52:1 on white and 2.46:1 on black.

Accessibility — WCAG contrast

Aa
#782889 on white: 8.52:1
AA ✓ pass · AA-large · AAA
Aa
#782889 on black: 2.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #00478C
deuteranopia · #314F87
tritanopia · #783A55

Color scale — 50 to 950

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

#F9F4FB
#F4E9F6
#E8CEEE
#DBA8E6
#C97DD9
#B751CC
#A637BD
#8A2E9E
#782889
#511E5C
#33133A
Base = 800Lightest = 50 · #F9F4FBDarkest = 950 · #33133A
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F4E9F6;
  --brand-200: #E8CEEE;
  --brand-300: #DBA8E6;
  --brand-400: #C97DD9;
  --brand-500: #B751CC;
  --brand-600: #A637BD;
  --brand-700: #8A2E9E;
  --brand-800: #782889;
  --brand-900: #511E5C;
  --brand-950: #33133A;
  --brand: #782889;
  --brand-ink: #ffffff;
}

Colors that work with #782889

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#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#518D24
Second voice, not a rival
Dark variant#561D63
Hover, pressed, headers
Light variant#F7EBF9
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 #782889

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#398928
Analogous left#482889
Analogous right#892869
Split-complement 1#698928
Split-complement 2#288948
Triadic 1#897828
Triadic 2#288978
Tetradic#894828

RGB percentages

Red47.1%
Green15.7%
Blue53.7%

CMYK percentages

Cyan12.4%
Magenta70.8%
Yellow0.0%
Key (black)46.3%

Color previews

#782889 text on a black background

contrast 2.46:1

Card sample

#782889 text on a white background

contrast 8.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #782889

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.

#782889 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#782889, answered

What color is #782889?

#782889 is a dark vivid violet, closest to Purple (ΔE2000 4.4). It sits at 290° on the hue wheel with 55% saturation and 35% lightness, which reads as neutral.

What is the RGB value of #782889?

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

Is #782889 a light or a dark color?

It is a dark color. Relative luminance is 0.0732 and perceived brightness is 34%, so white text on it reaches 8.52:1.

Should I use black or white text on #782889?

White. It scores 8.52:1 against #782889, versus 2.46:1 for black — AAA at any size.

What is the complementary color of #782889?

#398928 sits directly opposite on the wheel. Softer options are the split-complements #698928 and #288948, which give the same contrast with far less vibration.

What colors go well with #782889?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #518D24 as an accent and #561D63 for hover and pressed states. For a palette, the analogous pair #482889 and #892869 stays calm, while #398928 is the loudest partner.

What is #782889 in CMYK for printing?

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

Is #782889 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #892876; nudged cooler, #54268B.

Work with #782889 in the Color Lab