Skip to content

#732cfd

a balanced, electric violet · cool · closest name: Blue Violet

RGB
115, 44, 253
HSL
260°, 98%, 58%
CMYK
55, 83, 0, 1
Luminance
0.1254

At a glance

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

Hex
#732cfd
Hue
260°
violet
Saturation
98%
electric
Lightness
58%
balanced
Brightness
99%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1254
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.99:1
Closest name
Blue Violet
ΔE2000 4.5
Where it sits
Hue260° of 360°
Saturation98%
Lightness58%
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#732cfd
RGBrgb(115, 44, 253)
HSLhsl(260, 98%, 58%)
CMYKcmyk(55%, 83%, 0%, 1%)
LABlab(42.1 73.1 -90.3)
LCHlch(42.1 116.2 309.0)
OKLCHoklch(0.534 0.274 288.5)
Decimal7548157
Display P3color(display-p3 0.451 0.173 0.992)

Copy-ready code

/* CSS */
color: #732cfd;
background-color: #732cfd;
/* Tailwind (arbitrary) */
class="text-[#732cfd] bg-[#732cfd]"
/* SCSS */
$brand: #732cfd;
/* SwiftUI */
Color(red: 0.451, green: 0.173, blue: 0.992)
/* Android */
Color.parseColor("#732cfd")
/* Flutter */
Color(0xFF732CFD)
/* Python / OpenCV (BGR) */
(253, 44, 115)

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 #732cfd · 5.99:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.99:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.51:1
AA fail · AA large pass · AAA fail
Reading the other direction: #732cfd as text scores 5.99:1 on white and 3.51:1 on black.

Accessibility — WCAG contrast

Aa
#732cfd on white: 5.99:1
AA ✓ pass · AA-large · AAA
Aa
#732cfd on black: 3.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067FF
deuteranopia · #005EF9
tritanopia · #376E99

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #732cfd is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F1FD
#ECE3FC
#D5C1FB
#B590FE
#9058FD
#732cfd
#5402F2
#4602CA
#3802A2
#2C0674
#1B0449
Base = 500Lightest = 50 · #F5F1FDDarkest = 950 · #1B0449
:root {
  --brand-50: #F5F1FD;
  --brand-100: #ECE3FC;
  --brand-200: #D5C1FB;
  --brand-300: #B590FE;
  --brand-400: #9058FD;
  --brand-500: #732cfd;
  --brand-600: #5402F2;
  --brand-700: #4602CA;
  --brand-800: #3802A2;
  --brand-900: #2C0674;
  --brand-950: #1B0449;
  --brand: #732cfd;
  --brand-ink: #ffffff;
}

Colors that work with #732cfd

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#664B9B
Captions on the surface
Accent#BACC00
Second voice, not a rival
Dark variant#2C017E
Hover, pressed, headers
Light variant#EEE6FF
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 #732cfd

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
  • 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#B6FD2C
Analogous left#2C4DFD
Analogous right#DC2CFD
Split-complement 1#FDDC2C
Split-complement 2#4DFD2C
Triadic 1#FD732C
Triadic 2#2CFD73
Tetradic#FD2C4D

RGB percentages

Red45.1%
Green17.3%
Blue99.2%

CMYK percentages

Cyan54.5%
Magenta82.6%
Yellow0.0%
Key (black)0.8%

Color previews

#732cfd text on a black background

contrast 3.51:1

Card sample

#732cfd text on a white background

contrast 5.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #732cfd;
Background color
Panel with #732cfd background
background-color: #732cfd;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #732cfd;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(115, 44, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(115, 44, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #732cfd;
background: linear-gradient(135deg, #732cfd, #FD2CFC);

Monochromatic scale

Palettes built from #732cfd

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.

#732cfd 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.

#732cfd, answered

What color is #732cfd?

#732cfd is a balanced electric violet, closest to Blue Violet (ΔE2000 4.5). It sits at 260° on the hue wheel with 98% saturation and 58% lightness, which reads as cool.

What is the RGB value of #732cfd?

rgb(115, 44, 253) — 115 red, 44 green and 253 blue out of 255, or 45.1% / 17.3% / 99.2% by channel.

Is #732cfd a light or a dark color?

It is a dark color. Relative luminance is 0.1254 and perceived brightness is 44%, so white text on it reaches 5.99:1.

Should I use black or white text on #732cfd?

White. It scores 5.99:1 against #732cfd, versus 3.51:1 for black — AA at any size.

What is the complementary color of #732cfd?

#B6FD2C sits directly opposite on the wheel. Softer options are the split-complements #FDDC2C and #4DFD2C, which give the same contrast with far less vibration.

What colors go well with #732cfd?

For interface work: #F6F4FA as the surface, #CFC0ED for borders, #664B9B for secondary text, #BACC00 as an accent and #2C017E for hover and pressed states. For a palette, the analogous pair #2C4DFD and #DC2CFD stays calm, while #B6FD2C is the loudest partner.

What is #732cfd in CMYK for printing?

cmyk(55%, 83%, 0%, 1%). 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 #732cfd 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 #C02CFD; nudged cooler, #2A30FF.

Work with #732cfd in the Color Lab