Skip to content

#4f32af

a dark, vivid blue · cool · closest name: Rebecca Purple

RGB
79, 50, 175
HSL
254°, 56%, 44%
CMYK
55, 71, 0, 31
Luminance
0.0704

At a glance

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

Hex
#4f32af
Hue
254°
blue
Saturation
56%
vivid
Lightness
44%
dark
Brightness
69%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0704
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.72:1
Closest name
Rebecca Purple
ΔE2000 6
Where it sits
Hue254° of 360°
Saturation56%
Lightness44%
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#4f32af
RGBrgb(79, 50, 175)
HSLhsl(254, 56%, 44%)
CMYKcmyk(55%, 71%, 0%, 31%)
LABlab(31.9 45.1 -62.2)
LCHlch(31.9 76.8 306.0)
OKLCHoklch(0.433 0.186 286.4)
Decimal5190319
Display P3color(display-p3 0.310 0.196 0.686)

Copy-ready code

/* CSS */
color: #4f32af;
background-color: #4f32af;
/* Tailwind (arbitrary) */
class="text-[#4f32af] bg-[#4f32af]"
/* SCSS */
$brand: #4f32af;
/* SwiftUI */
Color(red: 0.310, green: 0.196, blue: 0.686)
/* Android */
Color.parseColor("#4f32af")
/* Flutter */
Color(0xFF4F32AF)
/* Python / OpenCV (BGR) */
(175, 50, 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 #4f32af · 8.72:1
Use #ffffffAAA at every size.
Aa
White text · 8.72:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.41:1
AA fail · AA large fail · AAA fail
Reading the other direction: #4f32af as text scores 8.72:1 on white and 2.41:1 on black.

Accessibility — WCAG contrast

Aa
#4f32af on white: 8.72:1
AA ✓ pass · AA-large · AAA
Aa
#4f32af on black: 2.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004EB3
deuteranopia · #0047AD
tritanopia · #26536D

Color scale — 50 to 950

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

#F6F4FB
#ECE9F6
#D5CEEE
#B6A8E6
#927CDA
#6D50CD
#4f32af
#482D9F
#39247F
#2C1E5D
#1C133A
Base = 600Lightest = 50 · #F6F4FBDarkest = 950 · #1C133A
:root {
  --brand-50: #F6F4FB;
  --brand-100: #ECE9F6;
  --brand-200: #D5CEEE;
  --brand-300: #B6A8E6;
  --brand-400: #927CDA;
  --brand-500: #6D50CD;
  --brand-600: #4f32af;
  --brand-700: #482D9F;
  --brand-800: #39247F;
  --brand-900: #2C1E5D;
  --brand-950: #1C133A;
  --brand: #4f32af;
  --brand-ink: #ffffff;
}

Colors that work with #4f32af

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#5D4B9B
Captions on the surface
Accent#A3A129
Second voice, not a rival
Dark variant#2D1C63
Hover, pressed, headers
Light variant#EEEBF9
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 #4f32af

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#92AF32
Analogous left#3253AF
Analogous right#8D32AF
Split-complement 1#AF8D32
Split-complement 2#53AF32
Triadic 1#AF4F32
Triadic 2#32AF4F
Tetradic#AF3253

RGB percentages

Red31.0%
Green19.6%
Blue68.6%

CMYK percentages

Cyan54.9%
Magenta71.4%
Yellow0.0%
Key (black)31.4%

Color previews

#4f32af text on a black background

contrast 2.41:1

Card sample

#4f32af text on a white background

contrast 8.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4f32af

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.

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

#4f32af, answered

What color is #4f32af?

#4f32af is a dark vivid blue, closest to Rebecca Purple (ΔE2000 6). It sits at 254° on the hue wheel with 56% saturation and 44% lightness, which reads as cool.

What is the RGB value of #4f32af?

rgb(79, 50, 175) — 79 red, 50 green and 175 blue out of 255, or 31% / 19.6% / 68.6% by channel.

Is #4f32af a light or a dark color?

It is a dark color. Relative luminance is 0.0704 and perceived brightness is 32%, so white text on it reaches 8.72:1.

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

White. It scores 8.72:1 against #4f32af, versus 2.41:1 for black — AAA at any size.

What is the complementary color of #4f32af?

#92AF32 sits directly opposite on the wheel. Softer options are the split-complements #AF8D32 and #53AF32, which give the same contrast with far less vibration.

What colors go well with #4f32af?

For interface work: #F6F4FA as the surface, #CAC0ED for borders, #5D4B9B for secondary text, #A3A129 as an accent and #2D1C63 for hover and pressed states. For a palette, the analogous pair #3253AF and #8D32AF stays calm, while #92AF32 is the loudest partner.

What is #4f32af in CMYK for printing?

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

Is #4f32af 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 #7D32AF; nudged cooler, #3041B1.

Work with #4f32af in the Color Lab