Skip to content

#6f08df

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

RGB
111, 8, 223
HSL
269°, 93%, 45%
CMYK
50, 96, 0, 13
Luminance
0.0888

At a glance

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

Hex
#6f08df
Hue
269°
violet
Saturation
93%
electric
Lightness
45%
balanced
Brightness
87%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0888
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.56:1
Closest name
Dark Violet
ΔE2000 6
Where it sits
Hue269° of 360°
Saturation93%
Lightness45%
Temperature
Warm ← → Cool67% 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#6f08df
RGBrgb(111, 8, 223)
HSLhsl(269, 93%, 45%)
CMYKcmyk(50%, 96%, 0%, 13%)
LABlab(35.8 74.1 -83.8)
LCHlch(35.8 111.8 311.5)
OKLCHoklch(0.481 0.263 293.7)
Decimal7276767
Display P3color(display-p3 0.435 0.031 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6f08df on white: 7.56:1
AA ✓ pass · AA-large · AAA
Aa
#6f08df on black: 2.78:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056E4
deuteranopia · #0050DC
tritanopia · #495883

Color scale — 50 to 950

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

#F7F2FD
#EFE4FB
#DDC2F9
#C593FB
#A75DF9
#8A26F7
#6f08df
#6207C5
#4E069E
#3B0972
#250547
Base = 600Lightest = 50 · #F7F2FDDarkest = 950 · #250547
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE4FB;
  --brand-200: #DDC2F9;
  --brand-300: #C593FB;
  --brand-400: #A75DF9;
  --brand-500: #8A26F7;
  --brand-600: #6f08df;
  --brand-700: #6207C5;
  --brand-800: #4E069E;
  --brand-900: #3B0972;
  --brand-950: #250547;
  --brand: #6f08df;
  --brand-ink: #ffffff;
}

Colors that work with #6f08df

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#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#9BC903
Second voice, not a rival
Dark variant#3D047B
Hover, pressed, headers
Light variant#F2E6FE
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 #6f08df

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#78DF08
Analogous left#080DDF
Analogous right#DA08DF
Split-complement 1#DFDA08
Split-complement 2#0DDF08
Triadic 1#DF6F08
Triadic 2#08DF6F
Tetradic#DF080D

RGB percentages

Red43.5%
Green3.1%
Blue87.5%

CMYK percentages

Cyan50.2%
Magenta96.4%
Yellow0.0%
Key (black)12.5%

Color previews

#6f08df text on a black background

contrast 2.78:1

Card sample

#6f08df text on a white background

contrast 7.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6f08df

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.

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

#6f08df, answered

What color is #6f08df?

#6f08df is a balanced electric violet, closest to Dark Violet (ΔE2000 6). It sits at 269° on the hue wheel with 93% saturation and 45% lightness, which reads as cool.

What is the RGB value of #6f08df?

rgb(111, 8, 223) — 111 red, 8 green and 223 blue out of 255, or 43.5% / 3.1% / 87.5% by channel.

Is #6f08df a light or a dark color?

It is a dark color. Relative luminance is 0.0888 and perceived brightness is 38%, so white text on it reaches 7.56:1.

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

White. It scores 7.56:1 against #6f08df, versus 2.78:1 for black — AAA at any size.

What is the complementary color of #6f08df?

#78DF08 sits directly opposite on the wheel. Softer options are the split-complements #DFDA08 and #0DDF08, which give the same contrast with far less vibration.

What colors go well with #6f08df?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #9BC903 as an accent and #3D047B for hover and pressed states. For a palette, the analogous pair #080DDF and #DA08DF stays calm, while #78DF08 is the loudest partner.

What is #6f08df in CMYK for printing?

cmyk(50%, 96%, 0%, 13%). 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 #6f08df warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BE08DF; nudged cooler, #1E06E1.

Work with #6f08df in the Color Lab