Skip to content

#4606cf

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

RGB
70, 6, 207
HSL
259°, 94%, 42%
CMYK
66, 97, 0, 19
Luminance
0.0594

At a glance

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

Hex
#4606cf
Hue
259°
violet
Saturation
94%
electric
Lightness
42%
dark
Brightness
81%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0594
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Electric
Best ink
White
9.60:1
Closest name
Medium Blue
ΔE2000 4
Where it sits
Hue259° of 360°
Saturation94%
Lightness42%
Temperature
Warm ← → Cool73% 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#4606cf
RGBrgb(70, 6, 207)
HSLhsl(259, 94%, 42%)
CMYKcmyk(66%, 97%, 0%, 19%)
LABlab(29.3 68.1 -85.4)
LCHlch(29.3 109.2 308.5)
OKLCHoklch(0.422 0.251 280.8)
Decimal4589263
Display P3color(display-p3 0.275 0.024 0.812)

Copy-ready code

/* CSS */
color: #4606cf;
background-color: #4606cf;
/* Tailwind (arbitrary) */
class="text-[#4606cf] bg-[#4606cf]"
/* SCSS */
$brand: #4606cf;
/* SwiftUI */
Color(red: 0.275, green: 0.024, blue: 0.812)
/* Android */
Color.parseColor("#4606cf")
/* Flutter */
Color(0xFF4606CF)
/* Python / OpenCV (BGR) */
(207, 6, 70)

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

Accessibility — WCAG contrast

Aa
#4606cf on white: 9.60:1
AA ✓ pass · AA-large · AAA
Aa
#4606cf on black: 2.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004BD4
deuteranopia · #003ECC
tritanopia · #005479

Color scale — 50 to 950

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

#F5F2FD
#EBE4FB
#D4C2FA
#B492FC
#8E5BFA
#6825F9
#5007EE
#4606cf
#36059F
#2A0872
#1A0547
Base = 700Lightest = 50 · #F5F2FDDarkest = 950 · #1A0547
:root {
  --brand-50: #F5F2FD;
  --brand-100: #EBE4FB;
  --brand-200: #D4C2FA;
  --brand-300: #B492FC;
  --brand-400: #8E5BFA;
  --brand-500: #6825F9;
  --brand-600: #5007EE;
  --brand-700: #4606cf;
  --brand-800: #36059F;
  --brand-900: #2A0872;
  --brand-950: #1A0547;
  --brand: #4606cf;
  --brand-ink: #ffffff;
}

Colors that work with #4606cf

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#CEC0ED
Hairlines and dividers
Muted text#644B9B
Captions on the surface
Accent#BDCA02
Second voice, not a rival
Dark variant#2A047C
Hover, pressed, headers
Light variant#EEE6FE
Selected rows, tints
Dark surface#191424
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 #4606cf

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#8FCF06
Analogous left#062BCF
Analogous right#AB06CF
Split-complement 1#CFAB06
Split-complement 2#2BCF06
Triadic 1#CF4606
Triadic 2#06CF46
Tetradic#CF062B

RGB percentages

Red27.5%
Green2.4%
Blue81.2%

CMYK percentages

Cyan66.2%
Magenta97.1%
Yellow0.0%
Key (black)18.8%

Color previews

#4606cf text on a black background

contrast 2.19:1

Card sample

#4606cf text on a white background

contrast 9.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4606cf;
Background color
Panel with #4606cf background
background-color: #4606cf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4606cf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(70, 6, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(70, 6, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4606cf;
background: linear-gradient(135deg, #4606cf, #CC06CF);

Monochromatic scale

Palettes built from #4606cf

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.

#4606cf 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.

#4606cf, answered

What color is #4606cf?

#4606cf is a dark electric violet, closest to Medium Blue (ΔE2000 4). It sits at 259° on the hue wheel with 94% saturation and 42% lightness, which reads as cool.

What is the RGB value of #4606cf?

rgb(70, 6, 207) — 70 red, 6 green and 207 blue out of 255, or 27.5% / 2.4% / 81.2% by channel.

Is #4606cf a light or a dark color?

It is a dark color. Relative luminance is 0.0594 and perceived brightness is 31%, so white text on it reaches 9.60:1.

Should I use black or white text on #4606cf?

White. It scores 9.60:1 against #4606cf, versus 2.19:1 for black — AAA at any size.

What is the complementary color of #4606cf?

#8FCF06 sits directly opposite on the wheel. Softer options are the split-complements #CFAB06 and #2BCF06, which give the same contrast with far less vibration.

What colors go well with #4606cf?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #644B9B for secondary text, #BDCA02 as an accent and #2A047C for hover and pressed states. For a palette, the analogous pair #062BCF and #AB06CF stays calm, while #8FCF06 is the loudest partner.

What is #4606cf in CMYK for printing?

cmyk(66%, 97%, 0%, 19%). 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 #4606cf warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9006CF; nudged cooler, #040ED1.

Work with #4606cf in the Color Lab