Skip to content

#7401df

a dark, electric violet · cool · closest name: Dark Violet

RGB
116, 1, 223
HSL
271°, 99%, 44%
CMYK
48, 100, 0, 13
Luminance
0.0906

At a glance

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

Hex
#7401df
Hue
271°
violet
Saturation
99%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0906
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.47:1
Closest name
Dark Violet
ΔE2000 5.3
Where it sits
Hue271° of 360°
Saturation99%
Lightness44%
Temperature
Warm ← → Cool66% 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#7401df
RGBrgb(116, 1, 223)
HSLhsl(271, 99%, 44%)
CMYKcmyk(48%, 100%, 0%, 13%)
LABlab(36.1 75.4 -83.2)
LCHlch(36.1 112.3 312.2)
OKLCHoklch(0.485 0.265 295.7)
Decimal7602655
Display P3color(display-p3 0.455 0.004 0.875)

Copy-ready code

/* CSS */
color: #7401df;
background-color: #7401df;
/* Tailwind (arbitrary) */
class="text-[#7401df] bg-[#7401df]"
/* SCSS */
$brand: #7401df;
/* SwiftUI */
Color(red: 0.455, green: 0.004, blue: 0.875)
/* Android */
Color.parseColor("#7401df")
/* Flutter */
Color(0xFF7401DF)
/* Python / OpenCV (BGR) */
(223, 1, 116)

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

Accessibility — WCAG contrast

Aa
#7401df on white: 7.47:1
AA ✓ pass · AA-large · AAA
Aa
#7401df on black: 2.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056E4
deuteranopia · #0052DC
tritanopia · #535783

Color scale — 50 to 950

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

#F8F1FE
#F0E3FC
#DFC0FB
#C98FFE
#AE57FE
#9320FE
#7F01F4
#7401df
#5501A2
#3F0575
#280349
Base = 700Lightest = 50 · #F8F1FEDarkest = 950 · #280349
:root {
  --brand-50: #F8F1FE;
  --brand-100: #F0E3FC;
  --brand-200: #DFC0FB;
  --brand-300: #C98FFE;
  --brand-400: #AE57FE;
  --brand-500: #9320FE;
  --brand-600: #7F01F4;
  --brand-700: #7401df;
  --brand-800: #5501A2;
  --brand-900: #3F0575;
  --brand-950: #280349;
  --brand: #7401df;
  --brand-ink: #ffffff;
}

Colors that work with #7401df

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#F7F4FA
Tinted page background
Border#D7C0ED
Hairlines and dividers
Muted text#744B9B
Captions on the surface
Accent#95CC00
Second voice, not a rival
Dark variant#42017F
Hover, pressed, headers
Light variant#F3E6FF
Selected rows, tints
Dark surface#1C1424
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 #7401df

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#6CDF01
Analogous left#0501DF
Analogous right#DF01DB
Split-complement 1#DBDF01
Split-complement 2#01DF05
Triadic 1#DF7401
Triadic 2#01DF74
Tetradic#DF0501

RGB percentages

Red45.5%
Green0.4%
Blue87.5%

CMYK percentages

Cyan48.0%
Magenta99.6%
Yellow0.0%
Key (black)12.5%

Color previews

#7401df text on a black background

contrast 2.81:1

Card sample

#7401df text on a white background

contrast 7.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(116, 1, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(116, 1, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7401df;
background: linear-gradient(135deg, #7401df, #DF01B6);

Monochromatic scale

Palettes built from #7401df

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.

#7401df 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#7401df, answered

What color is #7401df?

#7401df is a dark electric violet, closest to Dark Violet (ΔE2000 5.3). It sits at 271° on the hue wheel with 99% saturation and 44% lightness, which reads as cool.

What is the RGB value of #7401df?

rgb(116, 1, 223) — 116 red, 1 green and 223 blue out of 255, or 45.5% / 0.4% / 87.5% by channel.

Is #7401df a light or a dark color?

It is a dark color. Relative luminance is 0.0906 and perceived brightness is 39%, so white text on it reaches 7.47:1.

Should I use black or white text on #7401df?

White. It scores 7.47:1 against #7401df, versus 2.81:1 for black — AAA at any size.

What is the complementary color of #7401df?

#6CDF01 sits directly opposite on the wheel. Softer options are the split-complements #DBDF01 and #01DF05, which give the same contrast with far less vibration.

What colors go well with #7401df?

For interface work: #F7F4FA as the surface, #D7C0ED for borders, #744B9B for secondary text, #95CC00 as an accent and #42017F for hover and pressed states. For a palette, the analogous pair #0501DF and #DF01DB stays calm, while #6CDF01 is the loudest partner.

What is #7401df in CMYK for printing?

cmyk(48%, 100%, 0%, 13%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #7401df warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C501DF; nudged cooler, #2200E0.

Work with #7401df in the Color Lab