Skip to content

#6f02cd

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

RGB
111, 2, 205
HSL
272°, 98%, 41%
CMYK
46, 99, 0, 20
Luminance
0.0783

At a glance

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

Hex
#6f02cd
Hue
272°
violet
Saturation
98%
electric
Lightness
41%
dark
Brightness
80%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0783
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
White
8.18:1
Closest name
Dark Violet
ΔE2000 6.2
Where it sits
Hue272° of 360°
Saturation98%
Lightness41%
Temperature
Warm ← → Cool65% 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#6f02cd
RGBrgb(111, 2, 205)
HSLhsl(272, 98%, 41%)
CMYKcmyk(46%, 99%, 0%, 20%)
LABlab(33.6 71.0 -76.9)
LCHlch(33.6 104.7 312.7)
OKLCHoklch(0.462 0.249 297.6)
Decimal7275213
Display P3color(display-p3 0.435 0.008 0.804)

Copy-ready code

/* CSS */
color: #6f02cd;
background-color: #6f02cd;
/* Tailwind (arbitrary) */
class="text-[#6f02cd] bg-[#6f02cd]"
/* SCSS */
$brand: #6f02cd;
/* SwiftUI */
Color(red: 0.435, green: 0.008, blue: 0.804)
/* Android */
Color.parseColor("#6f02cd")
/* Flutter */
Color(0xFF6F02CD)
/* Python / OpenCV (BGR) */
(205, 2, 111)

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

Accessibility — WCAG contrast

Aa
#6f02cd on white: 8.18:1
AA ✓ pass · AA-large · AAA
Aa
#6f02cd on black: 2.57:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0050D2
deuteranopia · #004DCA
tritanopia · #554F78

Color scale — 50 to 950

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

#F8F1FD
#F1E3FC
#E0C1FB
#CB90FE
#B158FD
#9721FD
#8302F2
#6f02cd
#5702A2
#410674
#290449
Base = 700Lightest = 50 · #F8F1FDDarkest = 950 · #290449
:root {
  --brand-50: #F8F1FD;
  --brand-100: #F1E3FC;
  --brand-200: #E0C1FB;
  --brand-300: #CB90FE;
  --brand-400: #B158FD;
  --brand-500: #9721FD;
  --brand-600: #8302F2;
  --brand-700: #6f02cd;
  --brand-800: #5702A2;
  --brand-900: #410674;
  --brand-950: #290449;
  --brand: #6f02cd;
  --brand-ink: #ffffff;
}

Colors that work with #6f02cd

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#F8F4FA
Tinted page background
Border#D8C0ED
Hairlines and dividers
Muted text#764B9B
Captions on the surface
Accent#92CC00
Second voice, not a rival
Dark variant#44017E
Hover, pressed, headers
Light variant#F3E6FF
Selected rows, tints
Dark surface#1D1424
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 #6f02cd

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#60CD02
Analogous left#0902CD
Analogous right#CD02C6
Split-complement 1#C6CD02
Split-complement 2#02CD09
Triadic 1#CD6F02
Triadic 2#02CD6F
Tetradic#CD0902

RGB percentages

Red43.5%
Green0.8%
Blue80.4%

CMYK percentages

Cyan45.9%
Magenta99.0%
Yellow0.0%
Key (black)19.6%

Color previews

#6f02cd text on a black background

contrast 2.57:1

Card sample

#6f02cd text on a white background

contrast 8.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(111, 2, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 2, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6f02cd;
background: linear-gradient(135deg, #6f02cd, #CD02A4);

Monochromatic scale

Palettes built from #6f02cd

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.

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

#6f02cd, answered

What color is #6f02cd?

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

What is the RGB value of #6f02cd?

rgb(111, 2, 205) — 111 red, 2 green and 205 blue out of 255, or 43.5% / 0.8% / 80.4% by channel.

Is #6f02cd a light or a dark color?

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

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

White. It scores 8.18:1 against #6f02cd, versus 2.57:1 for black — AAA at any size.

What is the complementary color of #6f02cd?

#60CD02 sits directly opposite on the wheel. Softer options are the split-complements #C6CD02 and #02CD09, which give the same contrast with far less vibration.

What colors go well with #6f02cd?

For interface work: #F8F4FA as the surface, #D8C0ED for borders, #764B9B for secondary text, #92CC00 as an accent and #44017E for hover and pressed states. For a palette, the analogous pair #0902CD and #CD02C6 stays calm, while #60CD02 is the loudest partner.

What is #6f02cd in CMYK for printing?

cmyk(46%, 99%, 0%, 20%). 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 #6f02cd warm or cool?

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

Work with #6f02cd in the Color Lab