Skip to content

#4b0eb0

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

RGB
75, 14, 176
HSL
263°, 85%, 37%
CMYK
57, 92, 0, 31
Luminance
0.0494

At a glance

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

Hex
#4b0eb0
Hue
263°
violet
Saturation
85%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0494
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Electric
Best ink
White
10.56:1
Closest name
Medium Blue
ΔE2000 5.3
Where it sits
Hue263° of 360°
Saturation85%
Lightness37%
Temperature
Warm ← → Cool71% 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#4b0eb0
RGBrgb(75, 14, 176)
HSLhsl(263, 85%, 37%)
CMYKcmyk(57%, 92%, 0%, 31%)
LABlab(26.6 59.4 -71.5)
LCHlch(26.6 93.0 309.7)
OKLCHoklch(0.395 0.217 288.1)
Decimal4918960
Display P3color(display-p3 0.294 0.055 0.690)

Copy-ready code

/* CSS */
color: #4b0eb0;
background-color: #4b0eb0;
/* Tailwind (arbitrary) */
class="text-[#4b0eb0] bg-[#4b0eb0]"
/* SCSS */
$brand: #4b0eb0;
/* SwiftUI */
Color(red: 0.294, green: 0.055, blue: 0.690)
/* Android */
Color.parseColor("#4b0eb0")
/* Flutter */
Color(0xFF4B0EB0)
/* Python / OpenCV (BGR) */
(176, 14, 75)

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

Accessibility — WCAG contrast

Aa
#4b0eb0 on white: 10.56:1
AA ✓ pass · AA-large · AAA
Aa
#4b0eb0 on black: 1.99:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0042B4
deuteranopia · #003BAD
tritanopia · #1A4767

Color scale — 50 to 950

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

#F6F2FC
#EDE5FA
#D8C5F7
#BB97F7
#9963F3
#772FEF
#6112E3
#4b0eb0
#400C97
#310D6D
#1F0844
Base = 700Lightest = 50 · #F6F2FCDarkest = 950 · #1F0844
:root {
  --brand-50: #F6F2FC;
  --brand-100: #EDE5FA;
  --brand-200: #D8C5F7;
  --brand-300: #BB97F7;
  --brand-400: #9963F3;
  --brand-500: #772FEF;
  --brand-600: #6112E3;
  --brand-700: #4b0eb0;
  --brand-800: #400C97;
  --brand-900: #310D6D;
  --brand-950: #1F0844;
  --brand: #4b0eb0;
  --brand-ink: #ffffff;
}

Colors that work with #4b0eb0

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#F7F4FA
Tinted page background
Border#D1C0ED
Hairlines and dividers
Muted text#694B9B
Captions on the surface
Accent#ABC10B
Second voice, not a rival
Dark variant#320976
Hover, pressed, headers
Light variant#F0E7FD
Selected rows, tints
Dark surface#1A1424
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 #4b0eb0

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#73B00E
Analogous left#0E22B0
Analogous right#9C0EB0
Split-complement 1#B09C0E
Split-complement 2#22B00E
Triadic 1#B04B0E
Triadic 2#0EB04B
Tetradic#B00E22

RGB percentages

Red29.4%
Green5.5%
Blue69.0%

CMYK percentages

Cyan57.4%
Magenta92.0%
Yellow0.0%
Key (black)31.0%

Color previews

#4b0eb0 text on a black background

contrast 1.99:1

Card sample

#4b0eb0 text on a white background

contrast 10.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(75, 14, 176, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(75, 14, 176, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4b0eb0;
background: linear-gradient(135deg, #4b0eb0, #B00EA9);

Monochromatic scale

Palettes built from #4b0eb0

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.

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

#4b0eb0, answered

What color is #4b0eb0?

#4b0eb0 is a dark electric violet, closest to Medium Blue (ΔE2000 5.3). It sits at 263° on the hue wheel with 85% saturation and 37% lightness, which reads as cool.

What is the RGB value of #4b0eb0?

rgb(75, 14, 176) — 75 red, 14 green and 176 blue out of 255, or 29.4% / 5.5% / 69% by channel.

Is #4b0eb0 a light or a dark color?

It is a dark color. Relative luminance is 0.0494 and perceived brightness is 29%, so white text on it reaches 10.56:1.

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

White. It scores 10.56:1 against #4b0eb0, versus 1.99:1 for black — AAA at any size.

What is the complementary color of #4b0eb0?

#73B00E sits directly opposite on the wheel. Softer options are the split-complements #B09C0E and #22B00E, which give the same contrast with far less vibration.

What colors go well with #4b0eb0?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #694B9B for secondary text, #ABC10B as an accent and #320976 for hover and pressed states. For a palette, the analogous pair #0E22B0 and #9C0EB0 stays calm, while #73B00E is the loudest partner.

What is #4b0eb0 in CMYK for printing?

cmyk(57%, 92%, 0%, 31%). 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 #4b0eb0 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #870EB0; nudged cooler, #0E0CB2.

Work with #4b0eb0 in the Color Lab