Skip to content

#6d2cef

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

RGB
109, 44, 239
HSL
260°, 86%, 56%
CMYK
54, 82, 0, 6
Luminance
0.1128

At a glance

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

Hex
#6d2cef
Hue
260°
violet
Saturation
86%
electric
Lightness
56%
balanced
Brightness
94%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1128
WCAG relative
Temperature
Cool
72/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.45:1
Closest name
Blue Violet
ΔE2000 4.5
Where it sits
Hue260° of 360°
Saturation86%
Lightness56%
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#6d2cef
RGBrgb(109, 44, 239)
HSLhsl(260, 86%, 56%)
CMYKcmyk(54%, 82%, 0%, 6%)
LABlab(40.0 69.0 -85.8)
LCHlch(40.0 110.1 308.8)
OKLCHoklch(0.515 0.260 288.5)
Decimal7154927
Display P3color(display-p3 0.427 0.173 0.937)

Copy-ready code

/* CSS */
color: #6d2cef;
background-color: #6d2cef;
/* Tailwind (arbitrary) */
class="text-[#6d2cef] bg-[#6d2cef]"
/* SCSS */
$brand: #6d2cef;
/* SwiftUI */
Color(red: 0.427, green: 0.173, blue: 0.937)
/* Android */
Color.parseColor("#6d2cef")
/* Flutter */
Color(0xFF6D2CEF)
/* Python / OpenCV (BGR) */
(239, 44, 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 #6d2cef · 6.45:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.45:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.26:1
AA fail · AA large pass · AAA fail
Reading the other direction: #6d2cef as text scores 6.45:1 on white and 3.26:1 on black.

Accessibility — WCAG contrast

Aa
#6d2cef on white: 6.45:1
AA ✓ pass · AA-large · AAA
Aa
#6d2cef on black: 3.26:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0062F4
deuteranopia · #0059EC
tritanopia · #356890

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6d2cef 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
#B797F7
#9363F3
#6d2cef
#5711E4
#490EBE
#3A0C98
#2D0D6E
#1C0844
Base = 500Lightest = 50 · #F6F2FDDarkest = 950 · #1C0844
:root {
  --brand-50: #F6F2FD;
  --brand-100: #ECE5FA;
  --brand-200: #D5C5F7;
  --brand-300: #B797F7;
  --brand-400: #9363F3;
  --brand-500: #6d2cef;
  --brand-600: #5711E4;
  --brand-700: #490EBE;
  --brand-800: #3A0C98;
  --brand-900: #2D0D6E;
  --brand-950: #1C0844;
  --brand: #6d2cef;
  --brand-ink: #ffffff;
}

Colors that work with #6d2cef

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#654B9B
Captions on the surface
Accent#B3C20A
Second voice, not a rival
Dark variant#2D0977
Hover, pressed, headers
Light variant#EFE7FD
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 #6d2cef

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#AEEF2C
Analogous left#2C4DEF
Analogous right#CF2CEF
Split-complement 1#EFCF2C
Split-complement 2#4DEF2C
Triadic 1#EF6D2C
Triadic 2#2CEF6D
Tetradic#EF2C4D

RGB percentages

Red42.7%
Green17.3%
Blue93.7%

CMYK percentages

Cyan54.4%
Magenta81.6%
Yellow0.0%
Key (black)6.3%

Color previews

#6d2cef text on a black background

contrast 3.26:1

Card sample

#6d2cef text on a white background

contrast 6.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6d2cef

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.

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

#6d2cef, answered

What color is #6d2cef?

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

What is the RGB value of #6d2cef?

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

Is #6d2cef a light or a dark color?

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

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

White. It scores 6.45:1 against #6d2cef, versus 3.26:1 for black — AA at any size.

What is the complementary color of #6d2cef?

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

What colors go well with #6d2cef?

For interface work: #F6F4FA as the surface, #CFC0ED for borders, #654B9B for secondary text, #B3C20A as an accent and #2D0977 for hover and pressed states. For a palette, the analogous pair #2C4DEF and #CF2CEF stays calm, while #AEEF2C is the loudest partner.

What is #6d2cef in CMYK for printing?

cmyk(54%, 82%, 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 #6d2cef 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 #B52CEF; nudged cooler, #2A30F1.

Work with #6d2cef in the Color Lab