Skip to content

#6b3fdf

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

RGB
107, 63, 223
HSL
257°, 71%, 56%
CMYK
52, 72, 0, 13
Luminance
0.1201

At a glance

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

Hex
#6b3fdf
Hue
257°
violet
Saturation
71%
vivid
Lightness
56%
balanced
Brightness
87%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1201
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.17:1
Closest name
Blue Violet
ΔE2000 5.2
Where it sits
Hue257° of 360°
Saturation71%
Lightness56%
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#6b3fdf
RGBrgb(107, 63, 223)
HSLhsl(257, 71%, 56%)
CMYKcmyk(52%, 72%, 0%, 13%)
LABlab(41.2 56.4 -74.8)
LCHlch(41.2 93.6 307.0)
OKLCHoklch(0.518 0.227 288.4)
Decimal7028703
Display P3color(display-p3 0.420 0.247 0.875)

Copy-ready code

/* CSS */
color: #6b3fdf;
background-color: #6b3fdf;
/* Tailwind (arbitrary) */
class="text-[#6b3fdf] bg-[#6b3fdf]"
/* SCSS */
$brand: #6b3fdf;
/* SwiftUI */
Color(red: 0.420, green: 0.247, blue: 0.875)
/* Android */
Color.parseColor("#6b3fdf")
/* Flutter */
Color(0xFF6B3FDF)
/* Python / OpenCV (BGR) */
(223, 63, 107)

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

Accessibility — WCAG contrast

Aa
#6b3fdf on white: 6.17:1
AA ✓ pass · AA-large · AAA
Aa
#6b3fdf on black: 3.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0065E4
deuteranopia · #005DDC
tritanopia · #3E6A8B

Color scale — 50 to 950

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

#F5F3FC
#ECE7F8
#D4C9F3
#B59FEF
#906FE7
#6b3fdf
#5323D2
#451DAF
#37178C
#2B1565
#1B0D3F
Base = 500Lightest = 50 · #F5F3FCDarkest = 950 · #1B0D3F
:root {
  --brand-50: #F5F3FC;
  --brand-100: #ECE7F8;
  --brand-200: #D4C9F3;
  --brand-300: #B59FEF;
  --brand-400: #906FE7;
  --brand-500: #6b3fdf;
  --brand-600: #5323D2;
  --brand-700: #451DAF;
  --brand-800: #37178C;
  --brand-900: #2B1565;
  --brand-950: #1B0D3F;
  --brand: #6b3fdf;
  --brand-ink: #ffffff;
}

Colors that work with #6b3fdf

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#AFB319
Second voice, not a rival
Dark variant#2B126D
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 #6b3fdf

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#B3DF3F
Analogous left#3F63DF
Analogous right#BB3FDF
Split-complement 1#DFBB3F
Split-complement 2#63DF3F
Triadic 1#DF6B3F
Triadic 2#3FDF6B
Tetradic#DF3F63

RGB percentages

Red42.0%
Green24.7%
Blue87.5%

CMYK percentages

Cyan52.0%
Magenta71.7%
Yellow0.0%
Key (black)12.5%

Color previews

#6b3fdf text on a black background

contrast 3.40:1

Card sample

#6b3fdf text on a white background

contrast 6.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6b3fdf;
Background color
Panel with #6b3fdf background
background-color: #6b3fdf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #6b3fdf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(107, 63, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(107, 63, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6b3fdf;
background: linear-gradient(135deg, #6b3fdf, #D63FDF);

Monochromatic scale

Palettes built from #6b3fdf

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.

#6b3fdf 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.

#6b3fdf, answered

What color is #6b3fdf?

#6b3fdf is a balanced vivid violet, closest to Blue Violet (ΔE2000 5.2). It sits at 257° on the hue wheel with 71% saturation and 56% lightness, which reads as cool.

What is the RGB value of #6b3fdf?

rgb(107, 63, 223) — 107 red, 63 green and 223 blue out of 255, or 42% / 24.7% / 87.5% by channel.

Is #6b3fdf a light or a dark color?

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

Should I use black or white text on #6b3fdf?

White. It scores 6.17:1 against #6b3fdf, versus 3.40:1 for black — AA at any size.

What is the complementary color of #6b3fdf?

#B3DF3F sits directly opposite on the wheel. Softer options are the split-complements #DFBB3F and #63DF3F, which give the same contrast with far less vibration.

What colors go well with #6b3fdf?

For interface work: #F6F4FA as the surface, #CCC0ED for borders, #614B9B for secondary text, #AFB319 as an accent and #2B126D for hover and pressed states. For a palette, the analogous pair #3F63DF and #BB3FDF stays calm, while #B3DF3F is the loudest partner.

What is #6b3fdf in CMYK for printing?

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

Is #6b3fdf 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 #A63FDF; nudged cooler, #3D4CE1.

Work with #6b3fdf in the Color Lab