Skip to content

#6c00cf

a dark, electric violet · cool · closest name: Dark Violet

RGB
108, 0, 207
HSL
271°, 100%, 41%
CMYK
48, 100, 0, 19
Luminance
0.0769

At a glance

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

Hex
#6c00cf
Hue
271°
violet
Saturation
100%
electric
Lightness
41%
dark
Brightness
81%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0769
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Electric
Best ink
White
8.27:1
Closest name
Dark Violet
ΔE2000 6.6
Where it sits
Hue271° of 360°
Saturation100%
Lightness41%
Temperature
Warm ← → Cool66% 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#6c00cf
RGBrgb(108, 0, 207)
HSLhsl(271, 100%, 41%)
CMYKcmyk(48%, 100%, 0%, 19%)
LABlab(33.3 71.5 -78.5)
LCHlch(33.3 106.2 312.3)
OKLCHoklch(0.460 0.251 296.1)
Decimal7078095
Display P3color(display-p3 0.424 0.000 0.812)

Copy-ready code

/* CSS */
color: #6c00cf;
background-color: #6c00cf;
/* Tailwind (arbitrary) */
class="text-[#6c00cf] bg-[#6c00cf]"
/* SCSS */
$brand: #6c00cf;
/* SwiftUI */
Color(red: 0.424, green: 0.000, blue: 0.812)
/* Android */
Color.parseColor("#6c00cf")
/* Flutter */
Color(0xFF6C00CF)
/* Python / OpenCV (BGR) */
(207, 0, 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 #6c00cf · 8.27:1
Use #ffffffAAA at every size.
Aa
White text · 8.27:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.54:1
AA fail · AA large fail · AAA fail
Reading the other direction: #6c00cf as text scores 8.27:1 on white and 2.54:1 on black.

Accessibility — WCAG contrast

Aa
#6c00cf on white: 8.27:1
AA ✓ pass · AA-large · AAA
Aa
#6c00cf on black: 2.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004FD4
deuteranopia · #004CCC
tritanopia · #4E5079

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6c00cf is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F1FE
#F0E3FC
#DFC0FC
#C98FFF
#AE57FF
#941FFF
#8000F5
#6c00cf
#5500A3
#400576
#280349
Base = 700Lightest = 50 · #F8F1FEDarkest = 950 · #280349
:root {
  --brand-50: #F8F1FE;
  --brand-100: #F0E3FC;
  --brand-200: #DFC0FC;
  --brand-300: #C98FFF;
  --brand-400: #AE57FF;
  --brand-500: #941FFF;
  --brand-600: #8000F5;
  --brand-700: #6c00cf;
  --brand-800: #5500A3;
  --brand-900: #400576;
  --brand-950: #280349;
  --brand: #6c00cf;
  --brand-ink: #ffffff;
}

Colors that work with #6c00cf

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#D7C0ED
Hairlines and dividers
Muted text#744B9B
Captions on the surface
Accent#95CC00
Second voice, not a rival
Dark variant#430080
Hover, pressed, headers
Light variant#F3E5FF
Selected rows, tints
Dark surface#1C1424
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 #6c00cf

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#63CF00
Analogous left#0400CF
Analogous right#CF00CB
Split-complement 1#CBCF00
Split-complement 2#00CF04
Triadic 1#CF6C00
Triadic 2#00CF6C
Tetradic#CF0400

RGB percentages

Red42.4%
Green0.0%
Blue81.2%

CMYK percentages

Cyan47.8%
Magenta100.0%
Yellow0.0%
Key (black)18.8%

Color previews

#6c00cf text on a black background

contrast 2.54:1

Card sample

#6c00cf text on a white background

contrast 8.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6c00cf

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.

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

#6c00cf, answered

What color is #6c00cf?

#6c00cf is a dark electric violet, closest to Dark Violet (ΔE2000 6.6). It sits at 271° on the hue wheel with 100% saturation and 41% lightness, which reads as cool.

What is the RGB value of #6c00cf?

rgb(108, 0, 207) — 108 red, 0 green and 207 blue out of 255, or 42.4% / 0% / 81.2% by channel.

Is #6c00cf a light or a dark color?

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

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

White. It scores 8.27:1 against #6c00cf, versus 2.54:1 for black — AAA at any size.

What is the complementary color of #6c00cf?

#63CF00 sits directly opposite on the wheel. Softer options are the split-complements #CBCF00 and #00CF04, which give the same contrast with far less vibration.

What colors go well with #6c00cf?

For interface work: #F7F4FA as the surface, #D7C0ED for borders, #744B9B for secondary text, #95CC00 as an accent and #430080 for hover and pressed states. For a palette, the analogous pair #0400CF and #CF00CB stays calm, while #63CF00 is the loudest partner.

What is #6c00cf in CMYK for printing?

cmyk(48%, 100%, 0%, 19%). 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 #6c00cf warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B800CF; nudged cooler, #2000CF.

Work with #6c00cf in the Color Lab