Skip to content

#4d2467

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

RGB
77, 36, 103
HSL
277°, 48%, 27%
CMYK
25, 65, 0, 60
Luminance
0.0382

At a glance

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

Hex
#4d2467
Hue
277°
violet
Saturation
48%
vivid
Lightness
27%
dark
Brightness
40%
HSV value
Perceived
24%
weighted brightness
Luminance
0.0382
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
11.91:1
Closest name
Indigo
ΔE2000 8.2
Where it sits
Hue277° of 360°
Saturation48%
Lightness27%
Temperature
Warm ← → Cool63% 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#4d2467
RGBrgb(77, 36, 103)
HSLhsl(277, 48%, 27%)
CMYKcmyk(25%, 65%, 0%, 60%)
LABlab(23.1 32.2 -31.7)
LCHlch(23.1 45.2 315.4)
OKLCHoklch(0.351 0.117 309.9)
Decimal5055591
Display P3color(display-p3 0.302 0.141 0.404)

Copy-ready code

/* CSS */
color: #4d2467;
background-color: #4d2467;
/* Tailwind (arbitrary) */
class="text-[#4d2467] bg-[#4d2467]"
/* SCSS */
$brand: #4d2467;
/* SwiftUI */
Color(red: 0.302, green: 0.141, blue: 0.404)
/* Android */
Color.parseColor("#4d2467")
/* Flutter */
Color(0xFF4D2467)
/* Python / OpenCV (BGR) */
(103, 36, 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 #4d2467 · 11.91:1
Use #ffffffAAA at every size.
Aa
White text · 11.91:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.76:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4d2467 as text scores 11.91:1 on white and 1.76:1 on black.

Accessibility — WCAG contrast

Aa
#4d2467 on white: 11.91:1
AA ✓ pass · AA-large · AAA
Aa
#4d2467 on black: 1.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #073569
deuteranopia · #1C3865
tritanopia · #4A3142

Color scale — 50 to 950

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

#F8F4FA
#F1EAF5
#E1D0EC
#CDACE2
#B482D3
#9B59C5
#883FB5
#713597
#5A2A79
#4d2467
#2A1537
Base = 900Lightest = 50 · #F8F4FADarkest = 950 · #2A1537
:root {
  --brand-50: #F8F4FA;
  --brand-100: #F1EAF5;
  --brand-200: #E1D0EC;
  --brand-300: #CDACE2;
  --brand-400: #B482D3;
  --brand-500: #9B59C5;
  --brand-600: #883FB5;
  --brand-700: #713597;
  --brand-800: #5A2A79;
  --brand-900: #4d2467;
  --brand-950: #2A1537;
  --brand: #4d2467;
  --brand-ink: #ffffff;
}

Colors that work with #4d2467

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#F8F4FA
Tinted page background
Border#DBC3EA
Hairlines and dividers
Muted text#7C4B9B
Captions on the surface
Accent#506A21
Second voice, not a rival
Dark variant#47215E
Hover, pressed, headers
Light variant#F4ECF8
Selected rows, tints
Dark surface#1E1424
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 #4d2467

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#3E6724
Analogous left#2C2467
Analogous right#672460
Split-complement 1#606724
Split-complement 2#24672C
Triadic 1#674D24
Triadic 2#24674D
Tetradic#672C24

RGB percentages

Red30.2%
Green14.1%
Blue40.4%

CMYK percentages

Cyan25.2%
Magenta65.0%
Yellow0.0%
Key (black)59.6%

Color previews

#4d2467 text on a black background

contrast 1.76:1

Card sample

#4d2467 text on a white background

contrast 11.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4d2467

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.

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

#4d2467, answered

What color is #4d2467?

#4d2467 is a dark vivid violet, closest to Indigo (ΔE2000 8.2). It sits at 277° on the hue wheel with 48% saturation and 27% lightness, which reads as cool.

What is the RGB value of #4d2467?

rgb(77, 36, 103) — 77 red, 36 green and 103 blue out of 255, or 30.2% / 14.1% / 40.4% by channel.

Is #4d2467 a light or a dark color?

It is a dark color. Relative luminance is 0.0382 and perceived brightness is 24%, so white text on it reaches 11.91:1.

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

White. It scores 11.91:1 against #4d2467, versus 1.76:1 for black — AAA at any size.

What is the complementary color of #4d2467?

#3E6724 sits directly opposite on the wheel. Softer options are the split-complements #606724 and #24672C, which give the same contrast with far less vibration.

What colors go well with #4d2467?

For interface work: #F8F4FA as the surface, #DBC3EA for borders, #7C4B9B for secondary text, #506A21 as an accent and #47215E for hover and pressed states. For a palette, the analogous pair #2C2467 and #672460 stays calm, while #3E6724 is the loudest partner.

What is #4d2467 in CMYK for printing?

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

Is #4d2467 warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #662467; nudged cooler, #342369.

Work with #4d2467 in the Color Lab