Skip to content

#672fba

a balanced, vivid violet · cool · closest name: Rebecca Purple

RGB
103, 47, 186
HSL
264°, 60%, 46%
CMYK
45, 75, 0, 27
Luminance
0.0846

At a glance

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

Hex
#672fba
Hue
264°
violet
Saturation
60%
vivid
Lightness
46%
balanced
Brightness
73%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0846
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
7.80:1
Closest name
Rebecca Purple
ΔE2000 5.2
Where it sits
Hue264° of 360°
Saturation60%
Lightness46%
Temperature
Warm ← → Cool70% 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#672fba
RGBrgb(103, 47, 186)
HSLhsl(264, 60%, 46%)
CMYKcmyk(45%, 75%, 0%, 27%)
LABlab(34.9 53.5 -63.6)
LCHlch(34.9 83.1 310.1)
OKLCHoklch(0.463 0.202 295.7)
Decimal6762426
Display P3color(display-p3 0.404 0.184 0.729)

Copy-ready code

/* CSS */
color: #672fba;
background-color: #672fba;
/* Tailwind (arbitrary) */
class="text-[#672fba] bg-[#672fba]"
/* SCSS */
$brand: #672fba;
/* SwiftUI */
Color(red: 0.404, green: 0.184, blue: 0.729)
/* Android */
Color.parseColor("#672fba")
/* Flutter */
Color(0xFF672FBA)
/* Python / OpenCV (BGR) */
(186, 47, 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 #672fba · 7.80:1
Use #ffffffAAA at every size.
Aa
White text · 7.80:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.69:1
AA fail · AA large fail · AAA fail
Reading the other direction: #672fba as text scores 7.80:1 on white and 2.69:1 on black.

Accessibility — WCAG contrast

Aa
#672fba on white: 7.80:1
AA ✓ pass · AA-large · AAA
Aa
#672fba on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0053BE
deuteranopia · #0050B7
tritanopia · #505472

Color scale — 50 to 950

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

#F7F4FB
#EEE9F7
#DACCEF
#C0A5E8
#A179DD
#824CD2
#672fba
#5A29A3
#482182
#371C5F
#22113B
Base = 600Lightest = 50 · #F7F4FBDarkest = 950 · #22113B
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EEE9F7;
  --brand-200: #DACCEF;
  --brand-300: #C0A5E8;
  --brand-400: #A179DD;
  --brand-500: #824CD2;
  --brand-600: #672fba;
  --brand-700: #5A29A3;
  --brand-800: #482182;
  --brand-900: #371C5F;
  --brand-950: #22113B;
  --brand: #672fba;
  --brand-ink: #ffffff;
}

Colors that work with #672fba

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#D2C0ED
Hairlines and dividers
Muted text#6B4B9B
Captions on the surface
Accent#93A725
Second voice, not a rival
Dark variant#381A66
Hover, pressed, headers
Light variant#F1EBFA
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 #672fba

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
  • Text on black or near-black surfaces
  • 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#82BA2F
Analogous left#2F3CBA
Analogous right#AD2FBA
Split-complement 1#BAAD2F
Split-complement 2#3CBA2F
Triadic 1#BA672F
Triadic 2#2FBA67
Tetradic#BA2F3C

RGB percentages

Red40.4%
Green18.4%
Blue72.9%

CMYK percentages

Cyan44.6%
Magenta74.7%
Yellow0.0%
Key (black)27.1%

Color previews

#672fba text on a black background

contrast 2.69:1

Card sample

#672fba text on a white background

contrast 7.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #672fba

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.

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

#672fba, answered

What color is #672fba?

#672fba is a balanced vivid violet, closest to Rebecca Purple (ΔE2000 5.2). It sits at 264° on the hue wheel with 60% saturation and 46% lightness, which reads as cool.

What is the RGB value of #672fba?

rgb(103, 47, 186) — 103 red, 47 green and 186 blue out of 255, or 40.4% / 18.4% / 72.9% by channel.

Is #672fba a light or a dark color?

It is a dark color. Relative luminance is 0.0846 and perceived brightness is 36%, so white text on it reaches 7.80:1.

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

White. It scores 7.80:1 against #672fba, versus 2.69:1 for black — AAA at any size.

What is the complementary color of #672fba?

#82BA2F sits directly opposite on the wheel. Softer options are the split-complements #BAAD2F and #3CBA2F, which give the same contrast with far less vibration.

What colors go well with #672fba?

For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6B4B9B for secondary text, #93A725 as an accent and #381A66 for hover and pressed states. For a palette, the analogous pair #2F3CBA and #AD2FBA stays calm, while #82BA2F is the loudest partner.

What is #672fba in CMYK for printing?

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

Is #672fba warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9A2FBA; nudged cooler, #322DBC.

Work with #672fba in the Color Lab