Skip to content

#3f00dc

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

RGB
63, 0, 220
HSL
257°, 100%, 43%
CMYK
71, 100, 0, 14
Luminance
0.0622

At a glance

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

Hex
#3f00dc
Hue
257°
violet
Saturation
100%
electric
Lightness
43%
dark
Brightness
86%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0622
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Electric
Best ink
White
9.35:1
Closest name
Blue
ΔE2000 3.9
Where it sits
Hue257° of 360°
Saturation100%
Lightness43%
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#3f00dc
RGBrgb(63, 0, 220)
HSLhsl(257, 100%, 43%)
CMYKcmyk(71%, 100%, 0%, 14%)
LABlab(30.0 71.8 -91.8)
LCHlch(30.0 116.6 308.1)
OKLCHoklch(0.430 0.267 276.8)
Decimal4128988
Display P3color(display-p3 0.247 0.000 0.863)

Copy-ready code

/* CSS */
color: #3f00dc;
background-color: #3f00dc;
/* Tailwind (arbitrary) */
class="text-[#3f00dc] bg-[#3f00dc]"
/* SCSS */
$brand: #3f00dc;
/* SwiftUI */
Color(red: 0.247, green: 0.000, blue: 0.863)
/* Android */
Color.parseColor("#3f00dc")
/* Flutter */
Color(0xFF3F00DC)
/* Python / OpenCV (BGR) */
(220, 0, 63)

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

Accessibility — WCAG contrast

Aa
#3f00dc on white: 9.35:1
AA ✓ pass · AA-large · AAA
Aa
#3f00dc on black: 2.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004EE1
deuteranopia · #003ED9
tritanopia · #005A81

Color scale — 50 to 950

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

#F5F1FE
#EAE3FC
#D1C0FC
#AF8FFF
#8757FF
#5F1FFF
#4600F5
#3f00dc
#2F00A3
#250576
#170349
Base = 700Lightest = 50 · #F5F1FEDarkest = 950 · #170349
:root {
  --brand-50: #F5F1FE;
  --brand-100: #EAE3FC;
  --brand-200: #D1C0FC;
  --brand-300: #AF8FFF;
  --brand-400: #8757FF;
  --brand-500: #5F1FFF;
  --brand-600: #4600F5;
  --brand-700: #3f00dc;
  --brand-800: #2F00A3;
  --brand-900: #250576;
  --brand-950: #170349;
  --brand: #3f00dc;
  --brand-ink: #ffffff;
}

Colors that work with #3f00dc

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#CDC0ED
Hairlines and dividers
Muted text#624B9B
Captions on the surface
Accent#C5CC00
Second voice, not a rival
Dark variant#250080
Hover, pressed, headers
Light variant#EDE5FF
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 #3f00dc

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#9DDC00
Analogous left#002FDC
Analogous right#AD00DC
Split-complement 1#DCAD00
Split-complement 2#2FDC00
Triadic 1#DC3F00
Triadic 2#00DC3F
Tetradic#DC002F

RGB percentages

Red24.7%
Green0.0%
Blue86.3%

CMYK percentages

Cyan71.4%
Magenta100.0%
Yellow0.0%
Key (black)13.7%

Color previews

#3f00dc text on a black background

contrast 2.24:1

Card sample

#3f00dc text on a white background

contrast 9.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3f00dc;
Background color
Panel with #3f00dc background
background-color: #3f00dc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3f00dc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(63, 0, 220, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 0, 220, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f00dc;
background: linear-gradient(135deg, #3f00dc, #D200DC);

Monochromatic scale

Palettes built from #3f00dc

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.

#3f00dc 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.

#3f00dc, answered

What color is #3f00dc?

#3f00dc is a dark electric violet, closest to Blue (ΔE2000 3.9). It sits at 257° on the hue wheel with 100% saturation and 43% lightness, which reads as cool.

What is the RGB value of #3f00dc?

rgb(63, 0, 220) — 63 red, 0 green and 220 blue out of 255, or 24.7% / 0% / 86.3% by channel.

Is #3f00dc a light or a dark color?

It is a dark color. Relative luminance is 0.0622 and perceived brightness is 32%, so white text on it reaches 9.35:1.

Should I use black or white text on #3f00dc?

White. It scores 9.35:1 against #3f00dc, versus 2.24:1 for black — AAA at any size.

What is the complementary color of #3f00dc?

#9DDC00 sits directly opposite on the wheel. Softer options are the split-complements #DCAD00 and #2FDC00, which give the same contrast with far less vibration.

What colors go well with #3f00dc?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #624B9B for secondary text, #C5CC00 as an accent and #250080 for hover and pressed states. For a palette, the analogous pair #002FDC and #AD00DC stays calm, while #9DDC00 is the loudest partner.

What is #3f00dc in CMYK for printing?

cmyk(71%, 100%, 0%, 14%). 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 #3f00dc 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 #9000DC; nudged cooler, #0012DC.

Work with #3f00dc in the Color Lab