Skip to content

#672df5

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

RGB
103, 45, 245
HSL
257°, 91%, 57%
CMYK
58, 82, 0, 4
Luminance
0.1135

At a glance

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

Hex
#672df5
Hue
257°
violet
Saturation
91%
electric
Lightness
57%
balanced
Brightness
96%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1135
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.42:1
Closest name
Blue Violet
ΔE2000 5.3
Where it sits
Hue257° of 360°
Saturation91%
Lightness57%
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#672df5
RGBrgb(103, 45, 245)
HSLhsl(257, 91%, 57%)
CMYKcmyk(58%, 82%, 0%, 4%)
LABlab(40.2 69.5 -89.0)
LCHlch(40.2 112.9 308.0)
OKLCHoklch(0.516 0.266 285.5)
Decimal6761973
Display P3color(display-p3 0.404 0.176 0.961)

Copy-ready code

/* CSS */
color: #672df5;
background-color: #672df5;
/* Tailwind (arbitrary) */
class="text-[#672df5] bg-[#672df5]"
/* SCSS */
$brand: #672df5;
/* SwiftUI */
Color(red: 0.404, green: 0.176, blue: 0.961)
/* Android */
Color.parseColor("#672df5")
/* Flutter */
Color(0xFF672DF5)
/* Python / OpenCV (BGR) */
(245, 45, 103)

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

Accessibility — WCAG contrast

Aa
#672df5 on white: 6.42:1
AA ✓ pass · AA-large · AAA
Aa
#672df5 on black: 3.27:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0064FA
deuteranopia · #0059F2
tritanopia · #106C94

Color scale — 50 to 950

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

#F5F2FD
#EBE5FB
#D3C3F9
#B194FA
#8B5EF7
#672df5
#4C0BEA
#3F09C3
#32079C
#280A70
#190646
Base = 500Lightest = 50 · #F5F2FDDarkest = 950 · #190646
:root {
  --brand-50: #F5F2FD;
  --brand-100: #EBE5FB;
  --brand-200: #D3C3F9;
  --brand-300: #B194FA;
  --brand-400: #8B5EF7;
  --brand-500: #672df5;
  --brand-600: #4C0BEA;
  --brand-700: #3F09C3;
  --brand-800: #32079C;
  --brand-900: #280A70;
  --brand-950: #190646;
  --brand: #672df5;
  --brand-ink: #ffffff;
}

Colors that work with #672df5

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#CDC0ED
Hairlines and dividers
Muted text#624B9B
Captions on the surface
Accent#BFC606
Second voice, not a rival
Dark variant#27067A
Hover, pressed, headers
Light variant#EDE7FE
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 #672df5

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#BBF52D
Analogous left#2D57F5
Analogous right#CB2DF5
Split-complement 1#F5CB2D
Split-complement 2#57F52D
Triadic 1#F5672D
Triadic 2#2DF567
Tetradic#F52D57

RGB percentages

Red40.4%
Green17.6%
Blue96.1%

CMYK percentages

Cyan58.0%
Magenta81.6%
Yellow0.0%
Key (black)3.9%

Color previews

#672df5 text on a black background

contrast 3.27:1

Card sample

#672df5 text on a white background

contrast 6.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #672df5;
Background color
Panel with #672df5 background
background-color: #672df5;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #672df5;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(103, 45, 245, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(103, 45, 245, 0.45);
Border & gradient
Gradient panel
border: 3px solid #672df5;
background: linear-gradient(135deg, #672df5, #EC2DF5);

Monochromatic scale

Palettes built from #672df5

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.

#672df5 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.

#672df5, answered

What color is #672df5?

#672df5 is a balanced electric violet, closest to Blue Violet (ΔE2000 5.3). It sits at 257° on the hue wheel with 91% saturation and 57% lightness, which reads as cool.

What is the RGB value of #672df5?

rgb(103, 45, 245) — 103 red, 45 green and 245 blue out of 255, or 40.4% / 17.6% / 96.1% by channel.

Is #672df5 a light or a dark color?

It is a dark color. Relative luminance is 0.1135 and perceived brightness is 42%, so white text on it reaches 6.42:1.

Should I use black or white text on #672df5?

White. It scores 6.42:1 against #672df5, versus 3.27:1 for black — AA at any size.

What is the complementary color of #672df5?

#BBF52D sits directly opposite on the wheel. Softer options are the split-complements #F5CB2D and #57F52D, which give the same contrast with far less vibration.

What colors go well with #672df5?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #624B9B for secondary text, #BFC606 as an accent and #27067A for hover and pressed states. For a palette, the analogous pair #2D57F5 and #CB2DF5 stays calm, while #BBF52D is the loudest partner.

What is #672df5 in CMYK for printing?

cmyk(58%, 82%, 0%, 4%). 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 #672df5 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 #B02DF5; nudged cooler, #2B3BF7.

Work with #672df5 in the Color Lab