Skip to content

#7428df

a balanced, vivid violet · cool · closest name: Blue Violet

RGB
116, 40, 223
HSL
265°, 74%, 52%
CMYK
48, 82, 0, 13
Luminance
0.1056

At a glance

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

Hex
#7428df
Hue
265°
violet
Saturation
74%
vivid
Lightness
52%
balanced
Brightness
87%
HSV value
Perceived
40%
weighted brightness
Luminance
0.1056
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.75:1
Closest name
Blue Violet
ΔE2000 3.7
Where it sits
Hue265° of 360°
Saturation74%
Lightness52%
Temperature
Warm ← → Cool70% 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#7428df
RGBrgb(116, 40, 223)
HSLhsl(265, 74%, 52%)
CMYKcmyk(48%, 82%, 0%, 13%)
LABlab(38.8 67.3 -78.7)
LCHlch(38.8 103.5 310.5)
OKLCHoklch(0.504 0.247 294.1)
Decimal7612639
Display P3color(display-p3 0.455 0.157 0.875)

Copy-ready code

/* CSS */
color: #7428df;
background-color: #7428df;
/* Tailwind (arbitrary) */
class="text-[#7428df] bg-[#7428df]"
/* SCSS */
$brand: #7428df;
/* SwiftUI */
Color(red: 0.455, green: 0.157, blue: 0.875)
/* Android */
Color.parseColor("#7428df")
/* Flutter */
Color(0xFF7428DF)
/* Python / OpenCV (BGR) */
(223, 40, 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 #7428df · 6.75:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.75:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.11:1
AA fail · AA large pass · AAA fail
Reading the other direction: #7428df as text scores 6.75:1 on white and 3.11:1 on black.

Accessibility — WCAG contrast

Aa
#7428df on white: 6.75:1
AA ✓ pass · AA-large · AAA
Aa
#7428df on black: 3.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005DE4
deuteranopia · #0058DC
tritanopia · #535F86

Color scale — 50 to 950

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

#F7F3FC
#EEE7F9
#DAC8F3
#C09DF0
#A06CE9
#813CE2
#7428df
#591AB2
#47158E
#361367
#220C40
Base = 600Lightest = 50 · #F7F3FCDarkest = 950 · #220C40
:root {
  --brand-50: #F7F3FC;
  --brand-100: #EEE7F9;
  --brand-200: #DAC8F3;
  --brand-300: #C09DF0;
  --brand-400: #A06CE9;
  --brand-500: #813CE2;
  --brand-600: #7428df;
  --brand-700: #591AB2;
  --brand-800: #47158E;
  --brand-900: #361367;
  --brand-950: #220C40;
  --brand: #7428df;
  --brand-ink: #ffffff;
}

Colors that work with #7428df

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#D2C0ED
Hairlines and dividers
Muted text#6C4B9B
Captions on the surface
Accent#9BB616
Second voice, not a rival
Dark variant#38116F
Hover, pressed, headers
Light variant#F1E9FC
Selected rows, tints
Dark surface#1B1424
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 #7428df

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
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#93DF28
Analogous left#2838DF
Analogous right#CF28DF
Split-complement 1#DFCF28
Split-complement 2#38DF28
Triadic 1#DF7428
Triadic 2#28DF74
Tetradic#DF2838

RGB percentages

Red45.5%
Green15.7%
Blue87.5%

CMYK percentages

Cyan48.0%
Magenta82.1%
Yellow0.0%
Key (black)12.5%

Color previews

#7428df text on a black background

contrast 3.11:1

Card sample

#7428df text on a white background

contrast 6.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7428df

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.

#7428df 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.

#7428df, answered

What color is #7428df?

#7428df is a balanced vivid violet, closest to Blue Violet (ΔE2000 3.7). It sits at 265° on the hue wheel with 74% saturation and 52% lightness, which reads as cool.

What is the RGB value of #7428df?

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

Is #7428df a light or a dark color?

It is a dark color. Relative luminance is 0.1056 and perceived brightness is 40%, so white text on it reaches 6.75:1.

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

White. It scores 6.75:1 against #7428df, versus 3.11:1 for black — AA at any size.

What is the complementary color of #7428df?

#93DF28 sits directly opposite on the wheel. Softer options are the split-complements #DFCF28 and #38DF28, which give the same contrast with far less vibration.

What colors go well with #7428df?

For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6C4B9B for secondary text, #9BB616 as an accent and #38116F for hover and pressed states. For a palette, the analogous pair #2838DF and #CF28DF stays calm, while #93DF28 is the loudest partner.

What is #7428df in CMYK for printing?

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

Is #7428df warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B728DF; nudged cooler, #2F26E2.

Work with #7428df in the Color Lab