Skip to content

#4f10cf

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

RGB
79, 16, 207
HSL
260°, 86%, 44%
CMYK
62, 92, 0, 19
Luminance
0.0654

At a glance

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

Hex
#4f10cf
Hue
260°
violet
Saturation
86%
electric
Lightness
44%
dark
Brightness
81%
HSV value
Perceived
33%
weighted brightness
Luminance
0.0654
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
White
9.10:1
Closest name
Medium Blue
ΔE2000 5.2
Where it sits
Hue260° of 360°
Saturation86%
Lightness44%
Temperature
Warm ← → Cool72% 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#4f10cf
RGBrgb(79, 16, 207)
HSLhsl(260, 86%, 44%)
CMYKcmyk(62%, 92%, 0%, 19%)
LABlab(30.7 66.8 -83.0)
LCHlch(30.7 106.5 308.8)
OKLCHoklch(0.434 0.246 284.0)
Decimal5181647
Display P3color(display-p3 0.310 0.063 0.812)

Copy-ready code

/* CSS */
color: #4f10cf;
background-color: #4f10cf;
/* Tailwind (arbitrary) */
class="text-[#4f10cf] bg-[#4f10cf]"
/* SCSS */
$brand: #4f10cf;
/* SwiftUI */
Color(red: 0.310, green: 0.063, blue: 0.812)
/* Android */
Color.parseColor("#4f10cf")
/* Flutter */
Color(0xFF4F10CF)
/* Python / OpenCV (BGR) */
(207, 16, 79)

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

Accessibility — WCAG contrast

Aa
#4f10cf on white: 9.10:1
AA ✓ pass · AA-large · AAA
Aa
#4f10cf on black: 2.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004DD4
deuteranopia · #0042CC
tritanopia · #00557A

Color scale — 50 to 950

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

#F6F2FD
#ECE5FA
#D5C5F7
#B797F7
#9263F3
#6E2FEF
#5712E3
#4f10cf
#3A0C98
#2D0D6D
#1C0844
Base = 700Lightest = 50 · #F6F2FDDarkest = 950 · #1C0844
:root {
  --brand-50: #F6F2FD;
  --brand-100: #ECE5FA;
  --brand-200: #D5C5F7;
  --brand-300: #B797F7;
  --brand-400: #9263F3;
  --brand-500: #6E2FEF;
  --brand-600: #5712E3;
  --brand-700: #4f10cf;
  --brand-800: #3A0C98;
  --brand-900: #2D0D6D;
  --brand-950: #1C0844;
  --brand: #4f10cf;
  --brand-ink: #ffffff;
}

Colors that work with #4f10cf

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#CFC0ED
Hairlines and dividers
Muted text#654B9B
Captions on the surface
Accent#B3C20A
Second voice, not a rival
Dark variant#2D0976
Hover, pressed, headers
Light variant#EFE7FD
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 #4f10cf

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#90CF10
Analogous left#1030CF
Analogous right#AE10CF
Split-complement 1#CFAE10
Split-complement 2#30CF10
Triadic 1#CF4F10
Triadic 2#10CF4F
Tetradic#CF1030

RGB percentages

Red31.0%
Green6.3%
Blue81.2%

CMYK percentages

Cyan61.8%
Magenta92.3%
Yellow0.0%
Key (black)18.8%

Color previews

#4f10cf text on a black background

contrast 2.31:1

Card sample

#4f10cf text on a white background

contrast 9.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4f10cf;
Background color
Panel with #4f10cf background
background-color: #4f10cf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4f10cf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(79, 16, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 16, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4f10cf;
background: linear-gradient(135deg, #4f10cf, #CE10CF);

Monochromatic scale

Palettes built from #4f10cf

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.

#4f10cf 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.

#4f10cf, answered

What color is #4f10cf?

#4f10cf is a dark electric violet, closest to Medium Blue (ΔE2000 5.2). It sits at 260° on the hue wheel with 86% saturation and 44% lightness, which reads as cool.

What is the RGB value of #4f10cf?

rgb(79, 16, 207) — 79 red, 16 green and 207 blue out of 255, or 31% / 6.3% / 81.2% by channel.

Is #4f10cf a light or a dark color?

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

Should I use black or white text on #4f10cf?

White. It scores 9.10:1 against #4f10cf, versus 2.31:1 for black — AAA at any size.

What is the complementary color of #4f10cf?

#90CF10 sits directly opposite on the wheel. Softer options are the split-complements #CFAE10 and #30CF10, which give the same contrast with far less vibration.

What colors go well with #4f10cf?

For interface work: #F6F4FA as the surface, #CFC0ED for borders, #654B9B for secondary text, #B3C20A as an accent and #2D0976 for hover and pressed states. For a palette, the analogous pair #1030CF and #AE10CF stays calm, while #90CF10 is the loudest partner.

What is #4f10cf in CMYK for printing?

cmyk(62%, 92%, 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 #4f10cf warm or cool?

Cool — it scores 72 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9510CF; nudged cooler, #0E15D1.

Work with #4f10cf in the Color Lab