Skip to content

#4103df

a dark, electric violet · cool · closest name: Blue

RGB
65, 3, 223
HSL
257°, 97%, 44%
CMYK
71, 99, 0, 13
Luminance
0.0652

At a glance

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

Hex
#4103df
Hue
257°
violet
Saturation
97%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0652
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Electric
Best ink
White
9.12:1
Closest name
Blue
ΔE2000 3.6
Where it sits
Hue257° of 360°
Saturation97%
Lightness44%
Temperature
Warm ← → Cool74% 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#4103df
RGBrgb(65, 3, 223)
HSLhsl(257, 97%, 44%)
CMYKcmyk(71%, 99%, 0%, 13%)
LABlab(30.7 72.1 -92.3)
LCHlch(30.7 117.2 308.0)
OKLCHoklch(0.436 0.268 277.1)
Decimal4260831
Display P3color(display-p3 0.255 0.012 0.875)

Copy-ready code

/* CSS */
color: #4103df;
background-color: #4103df;
/* Tailwind (arbitrary) */
class="text-[#4103df] bg-[#4103df]"
/* SCSS */
$brand: #4103df;
/* SwiftUI */
Color(red: 0.255, green: 0.012, blue: 0.875)
/* Android */
Color.parseColor("#4103df")
/* Flutter */
Color(0xFF4103DF)
/* Python / OpenCV (BGR) */
(223, 3, 65)

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

Accessibility — WCAG contrast

Aa
#4103df on white: 9.12:1
AA ✓ pass · AA-large · AAA
Aa
#4103df on black: 2.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0050E4
deuteranopia · #003FDC
tritanopia · #005B83

Color scale — 50 to 950

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

#F5F1FD
#EAE4FC
#D1C1FB
#AF90FD
#8759FD
#5F22FC
#4103df
#3B03C9
#2F02A1
#250674
#170448
Base = 600Lightest = 50 · #F5F1FDDarkest = 950 · #170448
:root {
  --brand-50: #F5F1FD;
  --brand-100: #EAE4FC;
  --brand-200: #D1C1FB;
  --brand-300: #AF90FD;
  --brand-400: #8759FD;
  --brand-500: #5F22FC;
  --brand-600: #4103df;
  --brand-700: #3B03C9;
  --brand-800: #2F02A1;
  --brand-900: #250674;
  --brand-950: #170448;
  --brand: #4103df;
  --brand-ink: #ffffff;
}

Colors that work with #4103df

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#F6F4FA
Tinted page background
Border#CCC0ED
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#C6CC00
Second voice, not a rival
Dark variant#25027E
Hover, pressed, headers
Light variant#EDE6FF
Selected rows, tints
Dark surface#181424
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 #4103df

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#A1DF03
Analogous left#0333DF
Analogous right#AF03DF
Split-complement 1#DFAF03
Split-complement 2#33DF03
Triadic 1#DF4103
Triadic 2#03DF41
Tetradic#DF0333

RGB percentages

Red25.5%
Green1.2%
Blue87.5%

CMYK percentages

Cyan70.9%
Magenta98.7%
Yellow0.0%
Key (black)12.5%

Color previews

#4103df text on a black background

contrast 2.30:1

Card sample

#4103df text on a white background

contrast 9.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4103df

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.

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

#4103df, answered

What color is #4103df?

#4103df is a dark electric violet, closest to Blue (ΔE2000 3.6). It sits at 257° on the hue wheel with 97% saturation and 44% lightness, which reads as cool.

What is the RGB value of #4103df?

rgb(65, 3, 223) — 65 red, 3 green and 223 blue out of 255, or 25.5% / 1.2% / 87.5% by channel.

Is #4103df a light or a dark color?

It is a dark color. Relative luminance is 0.0652 and perceived brightness is 33%, so white text on it reaches 9.12:1.

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

White. It scores 9.12:1 against #4103df, versus 2.30:1 for black — AAA at any size.

What is the complementary color of #4103df?

#A1DF03 sits directly opposite on the wheel. Softer options are the split-complements #DFAF03 and #33DF03, which give the same contrast with far less vibration.

What colors go well with #4103df?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #614B9B for secondary text, #C6CC00 as an accent and #25027E for hover and pressed states. For a palette, the analogous pair #0333DF and #AF03DF stays calm, while #A1DF03 is the loudest partner.

What is #4103df in CMYK for printing?

cmyk(71%, 99%, 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 #4103df warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9203DF; nudged cooler, #0113E1.

Work with #4103df in the Color Lab