Skip to content

#4d1663

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

RGB
77, 22, 99
HSL
283°, 64%, 24%
CMYK
22, 78, 0, 61
Luminance
0.0305

At a glance

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

Hex
#4d1663
Hue
283°
violet
Saturation
64%
vivid
Lightness
24%
deep
Brightness
39%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0305
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
13.04:1
Closest name
Indigo
ΔE2000 6.8
Where it sits
Hue283° of 360°
Saturation64%
Lightness24%
Temperature
Warm ← → Cool60% 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#4d1663
RGBrgb(77, 22, 99)
HSLhsl(283, 64%, 24%)
CMYKcmyk(22%, 78%, 0%, 61%)
LABlab(20.3 38.3 -33.6)
LCHlch(20.3 51.0 318.7)
OKLCHoklch(0.330 0.133 314.3)
Decimal5052003
Display P3color(display-p3 0.302 0.086 0.388)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#4d1663 on white: 13.04:1
AA ✓ pass · AA-large · AAA
Aa
#4d1663 on black: 1.61:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #002E65
deuteranopia · #113261
tritanopia · #4B273B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #4d1663 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
#D6A3EB
#C275E0
#AD47D6
#9C2DC8
#8225A7
#681E85
#4d1663
#30103D
Base = 900Lightest = 50 · #F9F4FBDarkest = 950 · #30103D
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E8F7;
  --brand-200: #E6CBF0;
  --brand-300: #D6A3EB;
  --brand-400: #C275E0;
  --brand-500: #AD47D6;
  --brand-600: #9C2DC8;
  --brand-700: #8225A7;
  --brand-800: #681E85;
  --brand-900: #4d1663;
  --brand-950: #30103D;
  --brand: #4d1663;
  --brand-ink: #ffffff;
}

Colors that work with #4d1663

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#844B9B
Captions on the surface
Accent#3F6514
Second voice, not a rival
Dark variant#511768
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 #4d1663

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#2C6316
Analogous left#271663
Analogous right#631652
Split-complement 1#526316
Split-complement 2#166327
Triadic 1#634D16
Triadic 2#16634D
Tetradic#632716

RGB percentages

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

CMYK percentages

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

Color previews

#4d1663 text on a black background

contrast 1.61:1

Card sample

#4d1663 text on a white background

contrast 13.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d1663

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.

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

#4d1663, answered

What color is #4d1663?

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

What is the RGB value of #4d1663?

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

Is #4d1663 a light or a dark color?

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

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

White. It scores 13.04:1 against #4d1663, versus 1.61:1 for black — AAA at any size.

What is the complementary color of #4d1663?

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

What colors go well with #4d1663?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #3F6514 as an accent and #511768 for hover and pressed states. For a palette, the analogous pair #271663 and #631652 stays calm, while #2C6316 is the loudest partner.

What is #4d1663 in CMYK for printing?

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

Is #4d1663 warm or cool?

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

Work with #4d1663 in the Color Lab