Skip to content

#6d2fef

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

RGB
109, 47, 239
HSL
259°, 86%, 56%
CMYK
54, 80, 0, 6
Luminance
0.1152

At a glance

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

Hex
#6d2fef
Hue
259°
violet
Saturation
86%
electric
Lightness
56%
balanced
Brightness
94%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1152
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.36:1
Closest name
Blue Violet
ΔE2000 4.5
Where it sits
Hue259° of 360°
Saturation86%
Lightness56%
Temperature
Warm ← → Cool73% 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#6d2fef
RGBrgb(109, 47, 239)
HSLhsl(259, 86%, 56%)
CMYKcmyk(54%, 80%, 0%, 6%)
LABlab(40.4 67.9 -85.2)
LCHlch(40.4 108.9 308.6)
OKLCHoklch(0.518 0.258 288.3)
Decimal7155695
Display P3color(display-p3 0.427 0.184 0.937)

Copy-ready code

/* CSS */
color: #6d2fef;
background-color: #6d2fef;
/* Tailwind (arbitrary) */
class="text-[#6d2fef] bg-[#6d2fef]"
/* SCSS */
$brand: #6d2fef;
/* SwiftUI */
Color(red: 0.427, green: 0.184, blue: 0.937)
/* Android */
Color.parseColor("#6d2fef")
/* Flutter */
Color(0xFF6D2FEF)
/* Python / OpenCV (BGR) */
(239, 47, 109)

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

Accessibility — WCAG contrast

Aa
#6d2fef on white: 6.36:1
AA ✓ pass · AA-large · AAA
Aa
#6d2fef on black: 3.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0063F4
deuteranopia · #005AEC
tritanopia · #356991

Color scale — 50 to 950

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

#F6F2FD
#ECE5FA
#D5C5F7
#B697F7
#9163F3
#6d2fef
#5512E3
#470FBD
#390C98
#2C0D6D
#1C0844
Base = 500Lightest = 50 · #F6F2FDDarkest = 950 · #1C0844
:root {
  --brand-50: #F6F2FD;
  --brand-100: #ECE5FA;
  --brand-200: #D5C5F7;
  --brand-300: #B697F7;
  --brand-400: #9163F3;
  --brand-500: #6d2fef;
  --brand-600: #5512E3;
  --brand-700: #470FBD;
  --brand-800: #390C98;
  --brand-900: #2C0D6D;
  --brand-950: #1C0844;
  --brand: #6d2fef;
  --brand-ink: #ffffff;
}

Colors that work with #6d2fef

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#CEC0ED
Hairlines and dividers
Muted text#654B9B
Captions on the surface
Accent#B4C10B
Second voice, not a rival
Dark variant#2C0976
Hover, pressed, headers
Light variant#EEE7FD
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 #6d2fef

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#B1EF2F
Analogous left#2F51EF
Analogous right#CD2FEF
Split-complement 1#EFCD2F
Split-complement 2#51EF2F
Triadic 1#EF6D2F
Triadic 2#2FEF6D
Tetradic#EF2F51

RGB percentages

Red42.7%
Green18.4%
Blue93.7%

CMYK percentages

Cyan54.4%
Magenta80.3%
Yellow0.0%
Key (black)6.3%

Color previews

#6d2fef text on a black background

contrast 3.30:1

Card sample

#6d2fef text on a white background

contrast 6.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(109, 47, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(109, 47, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6d2fef;
background: linear-gradient(135deg, #6d2fef, #ED2FEF);

Monochromatic scale

Palettes built from #6d2fef

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.

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

#6d2fef, answered

What color is #6d2fef?

#6d2fef is a balanced electric violet, closest to Blue Violet (ΔE2000 4.5). It sits at 259° on the hue wheel with 86% saturation and 56% lightness, which reads as cool.

What is the RGB value of #6d2fef?

rgb(109, 47, 239) — 109 red, 47 green and 239 blue out of 255, or 42.7% / 18.4% / 93.7% by channel.

Is #6d2fef a light or a dark color?

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

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

White. It scores 6.36:1 against #6d2fef, versus 3.30:1 for black — AA at any size.

What is the complementary color of #6d2fef?

#B1EF2F sits directly opposite on the wheel. Softer options are the split-complements #EFCD2F and #51EF2F, which give the same contrast with far less vibration.

What colors go well with #6d2fef?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #654B9B for secondary text, #B4C10B as an accent and #2C0976 for hover and pressed states. For a palette, the analogous pair #2F51EF and #CD2FEF stays calm, while #B1EF2F is the loudest partner.

What is #6d2fef in CMYK for printing?

cmyk(54%, 80%, 0%, 6%). 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 #6d2fef warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B42FEF; nudged cooler, #2D35F1.

Work with #6d2fef in the Color Lab