Skip to content

#4e1663

a deep, vivid violet · cool · closest name: Indigo

RGB
78, 22, 99
HSL
284°, 64%, 24%
CMYK
21, 78, 0, 61
Luminance
0.0309

At a glance

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

Hex
#4e1663
Hue
284°
violet
Saturation
64%
vivid
Lightness
24%
deep
Brightness
39%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0309
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
12.97:1
Closest name
Indigo
ΔE2000 6.9
Where it sits
Hue284° of 360°
Saturation64%
Lightness24%
Temperature
Warm ← → Cool59% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#4e1663
RGBrgb(78, 22, 99)
HSLhsl(284, 64%, 24%)
CMYKcmyk(21%, 78%, 0%, 61%)
LABlab(20.4 38.5 -33.4)
LCHlch(20.4 51.0 319.1)
OKLCHoklch(0.331 0.133 315.0)
Decimal5117539
Display P3color(display-p3 0.306 0.086 0.388)

Copy-ready code

/* CSS */
color: #4e1663;
background-color: #4e1663;
/* Tailwind (arbitrary) */
class="text-[#4e1663] bg-[#4e1663]"
/* SCSS */
$brand: #4e1663;
/* SwiftUI */
Color(red: 0.306, green: 0.086, blue: 0.388)
/* Android */
Color.parseColor("#4e1663")
/* Flutter */
Color(0xFF4E1663)
/* Python / OpenCV (BGR) */
(99, 22, 78)

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

Accessibility — WCAG contrast

Aa
#4e1663 on white: 12.97:1
AA ✓ pass · AA-large · AAA
Aa
#4e1663 on black: 1.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #002E65
deuteranopia · #133361
tritanopia · #4C273B

Color scale — 50 to 950

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

#F9F4FB
#F3E8F7
#E6CBF0
#D7A3EB
#C375E0
#AF47D6
#9E2DC8
#8325A7
#691E85
#4e1663
#30103D
Base = 900Lightest = 50 · #F9F4FBDarkest = 950 · #30103D
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E8F7;
  --brand-200: #E6CBF0;
  --brand-300: #D7A3EB;
  --brand-400: #C375E0;
  --brand-500: #AF47D6;
  --brand-600: #9E2DC8;
  --brand-700: #8325A7;
  --brand-800: #691E85;
  --brand-900: #4e1663;
  --brand-950: #30103D;
  --brand: #4e1663;
  --brand-ink: #ffffff;
}

Colors that work with #4e1663

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#E0C0ED
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#3E6514
Second voice, not a rival
Dark variant#521768
Hover, pressed, headers
Light variant#F6EAFA
Selected rows, tints
Dark surface#201424
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 #4e1663

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#2B6316
Analogous left#271663
Analogous right#631651
Split-complement 1#516316
Split-complement 2#166327
Triadic 1#634E16
Triadic 2#16634E
Tetradic#632716

RGB percentages

Red30.6%
Green8.6%
Blue38.8%

CMYK percentages

Cyan21.2%
Magenta77.8%
Yellow0.0%
Key (black)61.2%

Color previews

#4e1663 text on a black background

contrast 1.62:1

Card sample

#4e1663 text on a white background

contrast 12.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(78, 22, 99, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(78, 22, 99, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4e1663;
background: linear-gradient(135deg, #4e1663, #631645);

Monochromatic scale

Palettes built from #4e1663

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.

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

#4e1663, answered

What color is #4e1663?

#4e1663 is a deep vivid violet, closest to Indigo (ΔE2000 6.9). It sits at 284° on the hue wheel with 64% saturation and 24% lightness, which reads as cool.

What is the RGB value of #4e1663?

rgb(78, 22, 99) — 78 red, 22 green and 99 blue out of 255, or 30.6% / 8.6% / 38.8% by channel.

Is #4e1663 a light or a dark color?

It is a dark color. Relative luminance is 0.0309 and perceived brightness is 22%, so white text on it reaches 12.97:1.

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

White. It scores 12.97:1 against #4e1663, versus 1.62:1 for black — AAA at any size.

What is the complementary color of #4e1663?

#2B6316 sits directly opposite on the wheel. Softer options are the split-complements #516316 and #166327, which give the same contrast with far less vibration.

What colors go well with #4e1663?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #3E6514 as an accent and #521768 for hover and pressed states. For a palette, the analogous pair #271663 and #631651 stays calm, while #2B6316 is the loudest partner.

What is #4e1663 in CMYK for printing?

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

Is #4e1663 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #63165C; nudged cooler, #311564.

Work with #4e1663 in the Color Lab