Skip to content

#481eb3

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

RGB
72, 30, 179
HSL
257°, 71%, 41%
CMYK
60, 83, 0, 30
Luminance
0.0556

At a glance

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

Hex
#481eb3
Hue
257°
violet
Saturation
71%
vivid
Lightness
41%
dark
Brightness
70%
HSV value
Perceived
30%
weighted brightness
Luminance
0.0556
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
9.94:1
Closest name
Medium Blue
ΔE2000 5.4
Where it sits
Hue257° of 360°
Saturation71%
Lightness41%
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#481eb3
RGBrgb(72, 30, 179)
HSLhsl(257, 71%, 41%)
CMYKcmyk(60%, 83%, 0%, 30%)
LABlab(28.3 54.8 -70.5)
LCHlch(28.3 89.3 307.9)
OKLCHoklch(0.407 0.210 285.0)
Decimal4726451
Display P3color(display-p3 0.282 0.118 0.702)

Copy-ready code

/* CSS */
color: #481eb3;
background-color: #481eb3;
/* Tailwind (arbitrary) */
class="text-[#481eb3] bg-[#481eb3]"
/* SCSS */
$brand: #481eb3;
/* SwiftUI */
Color(red: 0.282, green: 0.118, blue: 0.702)
/* Android */
Color.parseColor("#481eb3")
/* Flutter */
Color(0xFF481EB3)
/* Python / OpenCV (BGR) */
(179, 30, 72)

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

Accessibility — WCAG contrast

Aa
#481eb3 on white: 9.94:1
AA ✓ pass · AA-large · AAA
Aa
#481eb3 on black: 2.11:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0047B7
deuteranopia · #003EB0
tritanopia · #004D6B

Color scale — 50 to 950

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

#F5F3FC
#ECE7F8
#D5C9F3
#B59FEF
#916FE7
#6C3FDF
#5423D2
#481eb3
#38178C
#2C1565
#1B0D3F
Base = 700Lightest = 50 · #F5F3FCDarkest = 950 · #1B0D3F
:root {
  --brand-50: #F5F3FC;
  --brand-100: #ECE7F8;
  --brand-200: #D5C9F3;
  --brand-300: #B59FEF;
  --brand-400: #916FE7;
  --brand-500: #6C3FDF;
  --brand-600: #5423D2;
  --brand-700: #481eb3;
  --brand-800: #38178C;
  --brand-900: #2C1565;
  --brand-950: #1B0D3F;
  --brand: #481eb3;
  --brand-ink: #ffffff;
}

Colors that work with #481eb3

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#CCC0ED
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#AEB319
Second voice, not a rival
Dark variant#2C126D
Hover, pressed, headers
Light variant#EEE9FB
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 #481eb3

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#89B31E
Analogous left#1E3FB3
Analogous right#931EB3
Split-complement 1#B3931E
Split-complement 2#3FB31E
Triadic 1#B3481E
Triadic 2#1EB348
Tetradic#B31E3F

RGB percentages

Red28.2%
Green11.8%
Blue70.2%

CMYK percentages

Cyan59.8%
Magenta83.2%
Yellow0.0%
Key (black)29.8%

Color previews

#481eb3 text on a black background

contrast 2.11:1

Card sample

#481eb3 text on a white background

contrast 9.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #481eb3;
Background color
Panel with #481eb3 background
background-color: #481eb3;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #481eb3;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(72, 30, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 30, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #481eb3;
background: linear-gradient(135deg, #481eb3, #AB1EB3);

Monochromatic scale

Palettes built from #481eb3

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.

#481eb3 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

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

#481eb3, answered

What color is #481eb3?

#481eb3 is a dark vivid violet, closest to Medium Blue (ΔE2000 5.4). It sits at 257° on the hue wheel with 71% saturation and 41% lightness, which reads as cool.

What is the RGB value of #481eb3?

rgb(72, 30, 179) — 72 red, 30 green and 179 blue out of 255, or 28.2% / 11.8% / 70.2% by channel.

Is #481eb3 a light or a dark color?

It is a dark color. Relative luminance is 0.0556 and perceived brightness is 30%, so white text on it reaches 9.94:1.

Should I use black or white text on #481eb3?

White. It scores 9.94:1 against #481eb3, versus 2.11:1 for black — AAA at any size.

What is the complementary color of #481eb3?

#89B31E sits directly opposite on the wheel. Softer options are the split-complements #B3931E and #3FB31E, which give the same contrast with far less vibration.

What colors go well with #481eb3?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #614B9B for secondary text, #AEB319 as an accent and #2C126D for hover and pressed states. For a palette, the analogous pair #1E3FB3 and #931EB3 stays calm, while #89B31E is the loudest partner.

What is #481eb3 in CMYK for printing?

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

Is #481eb3 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 #7F1EB3; nudged cooler, #1C29B5.

Work with #481eb3 in the Color Lab