Skip to content

#4e2acf

a balanced, vivid blue · cool · closest name: Blue

RGB
78, 42, 207
HSL
253°, 66%, 49%
CMYK
62, 80, 0, 19
Luminance
0.0778

At a glance

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

Hex
#4e2acf
Hue
253°
blue
Saturation
66%
vivid
Lightness
49%
balanced
Brightness
81%
HSV value
Perceived
34%
weighted brightness
Luminance
0.0778
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.22:1
Closest name
Blue
ΔE2000 6
Where it sits
Hue253° of 360°
Saturation66%
Lightness49%
Temperature
Warm ← → Cool76% 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#4e2acf
RGBrgb(78, 42, 207)
HSLhsl(253, 66%, 49%)
CMYKcmyk(62%, 80%, 0%, 19%)
LABlab(33.5 58.1 -78.3)
LCHlch(33.5 97.5 306.6)
OKLCHoklch(0.453 0.231 282.0)
Decimal5122767
Display P3color(display-p3 0.306 0.165 0.812)

Copy-ready code

/* CSS */
color: #4e2acf;
background-color: #4e2acf;
/* Tailwind (arbitrary) */
class="text-[#4e2acf] bg-[#4e2acf]"
/* SCSS */
$brand: #4e2acf;
/* SwiftUI */
Color(red: 0.306, green: 0.165, blue: 0.812)
/* Android */
Color.parseColor("#4e2acf")
/* Flutter */
Color(0xFF4E2ACF)
/* Python / OpenCV (BGR) */
(207, 42, 78)

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

Accessibility — WCAG contrast

Aa
#4e2acf on white: 8.22:1
AA ✓ pass · AA-large · AAA
Aa
#4e2acf on black: 2.56:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0054D4
deuteranopia · #0049CC
tritanopia · #005C7D

Color scale — 50 to 950

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

#F5F3FB
#EBE8F8
#D3CBF1
#B2A2EC
#8B73E3
#6544D9
#4e2acf
#4022AA
#331B88
#281863
#190F3E
Base = 600Lightest = 50 · #F5F3FBDarkest = 950 · #190F3E
:root {
  --brand-50: #F5F3FB;
  --brand-100: #EBE8F8;
  --brand-200: #D3CBF1;
  --brand-300: #B2A2EC;
  --brand-400: #8B73E3;
  --brand-500: #6544D9;
  --brand-600: #4e2acf;
  --brand-700: #4022AA;
  --brand-800: #331B88;
  --brand-900: #281863;
  --brand-950: #190F3E;
  --brand: #4e2acf;
  --brand-ink: #ffffff;
}

Colors that work with #4e2acf

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#CAC0ED
Hairlines and dividers
Muted text#5C4B9B
Captions on the surface
Accent#AEA91E
Second voice, not a rival
Dark variant#28156A
Hover, pressed, headers
Light variant#EDEAFB
Selected rows, tints
Dark surface#171424
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 #4e2acf

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
  • Text on black or near-black surfaces
  • 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#ABCF2A
Analogous left#2A58CF
Analogous right#A02ACF
Split-complement 1#CFA02A
Split-complement 2#58CF2A
Triadic 1#CF4E2A
Triadic 2#2ACF4E
Tetradic#CF2A58

RGB percentages

Red30.6%
Green16.5%
Blue81.2%

CMYK percentages

Cyan62.3%
Magenta79.7%
Yellow0.0%
Key (black)18.8%

Color previews

#4e2acf text on a black background

contrast 2.56:1

Card sample

#4e2acf text on a white background

contrast 8.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4e2acf

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.

#4e2acf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#4e2acf, answered

What color is #4e2acf?

#4e2acf is a balanced vivid blue, closest to Blue (ΔE2000 6). It sits at 253° on the hue wheel with 66% saturation and 49% lightness, which reads as cool.

What is the RGB value of #4e2acf?

rgb(78, 42, 207) — 78 red, 42 green and 207 blue out of 255, or 30.6% / 16.5% / 81.2% by channel.

Is #4e2acf a light or a dark color?

It is a dark color. Relative luminance is 0.0778 and perceived brightness is 34%, so white text on it reaches 8.22:1.

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

White. It scores 8.22:1 against #4e2acf, versus 2.56:1 for black — AAA at any size.

What is the complementary color of #4e2acf?

#ABCF2A sits directly opposite on the wheel. Softer options are the split-complements #CFA02A and #58CF2A, which give the same contrast with far less vibration.

What colors go well with #4e2acf?

For interface work: #F6F4FA as the surface, #CAC0ED for borders, #5C4B9B for secondary text, #AEA91E as an accent and #28156A for hover and pressed states. For a palette, the analogous pair #2A58CF and #A02ACF stays calm, while #ABCF2A is the loudest partner.

What is #4e2acf in CMYK for printing?

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

Is #4e2acf warm or cool?

Cool — it scores 76 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #8A2ACF; nudged cooler, #2741D1.

Work with #4e2acf in the Color Lab