Skip to content

#6c2cd7

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

RGB
108, 44, 215
HSL
263°, 68%, 51%
CMYK
50, 80, 0, 16
Luminance
0.0990

At a glance

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

Hex
#6c2cd7
Hue
263°
violet
Saturation
68%
vivid
Lightness
51%
balanced
Brightness
84%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0990
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
7.05:1
Closest name
Blue Violet
ΔE2000 4.9
Where it sits
Hue263° of 360°
Saturation68%
Lightness51%
Temperature
Warm ← → Cool71% 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#6c2cd7
RGBrgb(108, 44, 215)
HSLhsl(263, 68%, 51%)
CMYKcmyk(50%, 80%, 0%, 16%)
LABlab(37.6 62.9 -76.0)
LCHlch(37.6 98.7 309.6)
OKLCHoklch(0.491 0.236 292.2)
Decimal7089367
Display P3color(display-p3 0.424 0.173 0.843)

Copy-ready code

/* CSS */
color: #6c2cd7;
background-color: #6c2cd7;
/* Tailwind (arbitrary) */
class="text-[#6c2cd7] bg-[#6c2cd7]"
/* SCSS */
$brand: #6c2cd7;
/* SwiftUI */
Color(red: 0.424, green: 0.173, blue: 0.843)
/* Android */
Color.parseColor("#6c2cd7")
/* Flutter */
Color(0xFF6C2CD7)
/* Python / OpenCV (BGR) */
(215, 44, 108)

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 #6c2cd7 · 7.05:1
Use #ffffffAAA at every size.
Aa
White text · 7.05:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.98:1
AA fail · AA large fail · AAA fail
Reading the other direction: #6c2cd7 as text scores 7.05:1 on white and 2.98:1 on black.

Accessibility — WCAG contrast

Aa
#6c2cd7 on white: 7.05:1
AA ✓ pass · AA-large · AAA
Aa
#6c2cd7 on black: 2.98:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005BDC
deuteranopia · #0055D4
tritanopia · #485E82

Color scale — 50 to 950

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

#F6F3FB
#EEE8F8
#D9CAF2
#BDA1ED
#9D72E4
#7C42DB
#6c2cd7
#5521AB
#441A89
#341764
#200E3E
Base = 600Lightest = 50 · #F6F3FBDarkest = 950 · #200E3E
:root {
  --brand-50: #F6F3FB;
  --brand-100: #EEE8F8;
  --brand-200: #D9CAF2;
  --brand-300: #BDA1ED;
  --brand-400: #9D72E4;
  --brand-500: #7C42DB;
  --brand-600: #6c2cd7;
  --brand-700: #5521AB;
  --brand-800: #441A89;
  --brand-900: #341764;
  --brand-950: #200E3E;
  --brand: #6c2cd7;
  --brand-ink: #ffffff;
}

Colors that work with #6c2cd7

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#D1C0ED
Hairlines and dividers
Muted text#694B9B
Captions on the surface
Accent#9DB01C
Second voice, not a rival
Dark variant#35146B
Hover, pressed, headers
Light variant#F0EAFB
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 #6c2cd7

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#97D72C
Analogous left#2C41D7
Analogous right#C22CD7
Split-complement 1#D7C22C
Split-complement 2#41D72C
Triadic 1#D76C2C
Triadic 2#2CD76C
Tetradic#D72C41

RGB percentages

Red42.4%
Green17.3%
Blue84.3%

CMYK percentages

Cyan49.8%
Magenta79.5%
Yellow0.0%
Key (black)15.7%

Color previews

#6c2cd7 text on a black background

contrast 2.98:1

Card sample

#6c2cd7 text on a white background

contrast 7.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6c2cd7

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.

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

#6c2cd7, answered

What color is #6c2cd7?

#6c2cd7 is a balanced vivid violet, closest to Blue Violet (ΔE2000 4.9). It sits at 263° on the hue wheel with 68% saturation and 51% lightness, which reads as cool.

What is the RGB value of #6c2cd7?

rgb(108, 44, 215) — 108 red, 44 green and 215 blue out of 255, or 42.4% / 17.3% / 84.3% by channel.

Is #6c2cd7 a light or a dark color?

It is a dark color. Relative luminance is 0.0990 and perceived brightness is 39%, so white text on it reaches 7.05:1.

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

White. It scores 7.05:1 against #6c2cd7, versus 2.98:1 for black — AAA at any size.

What is the complementary color of #6c2cd7?

#97D72C sits directly opposite on the wheel. Softer options are the split-complements #D7C22C and #41D72C, which give the same contrast with far less vibration.

What colors go well with #6c2cd7?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #694B9B for secondary text, #9DB01C as an accent and #35146B for hover and pressed states. For a palette, the analogous pair #2C41D7 and #C22CD7 stays calm, while #97D72C is the loudest partner.

What is #6c2cd7 in CMYK for printing?

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

Is #6c2cd7 warm or cool?

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

Work with #6c2cd7 in the Color Lab