Skip to content

#6b0ddf

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

RGB
107, 13, 223
HSL
267°, 89%, 46%
CMYK
52, 94, 0, 13
Luminance
0.0874

At a glance

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

Hex
#6b0ddf
Hue
267°
violet
Saturation
89%
electric
Lightness
46%
balanced
Brightness
87%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0874
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.64:1
Closest name
Blue Violet
ΔE2000 6.3
Where it sits
Hue267° of 360°
Saturation89%
Lightness46%
Temperature
Warm ← → Cool68% 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#6b0ddf
RGBrgb(107, 13, 223)
HSLhsl(267, 89%, 46%)
CMYKcmyk(52%, 94%, 0%, 13%)
LABlab(35.5 73.1 -84.2)
LCHlch(35.5 111.5 311.0)
OKLCHoklch(0.479 0.261 292.1)
Decimal7015903
Display P3color(display-p3 0.420 0.051 0.875)

Copy-ready code

/* CSS */
color: #6b0ddf;
background-color: #6b0ddf;
/* Tailwind (arbitrary) */
class="text-[#6b0ddf] bg-[#6b0ddf]"
/* SCSS */
$brand: #6b0ddf;
/* SwiftUI */
Color(red: 0.420, green: 0.051, blue: 0.875)
/* Android */
Color.parseColor("#6b0ddf")
/* Flutter */
Color(0xFF6B0DDF)
/* Python / OpenCV (BGR) */
(223, 13, 107)

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

Accessibility — WCAG contrast

Aa
#6b0ddf on white: 7.64:1
AA ✓ pass · AA-large · AAA
Aa
#6b0ddf on black: 2.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056E4
deuteranopia · #004FDC
tritanopia · #415A83

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6b0ddf 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
#EFE5FB
#DBC4F8
#C295F9
#A360F6
#842BF3
#6b0ddf
#5D0BC1
#4A099A
#380B6F
#230746
Base = 600Lightest = 50 · #F7F2FDDarkest = 950 · #230746
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE5FB;
  --brand-200: #DBC4F8;
  --brand-300: #C295F9;
  --brand-400: #A360F6;
  --brand-500: #842BF3;
  --brand-600: #6b0ddf;
  --brand-700: #5D0BC1;
  --brand-800: #4A099A;
  --brand-900: #380B6F;
  --brand-950: #230746;
  --brand: #6b0ddf;
  --brand-ink: #ffffff;
}

Colors that work with #6b0ddf

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#D4C0ED
Hairlines and dividers
Muted text#6F4B9B
Captions on the surface
Accent#9FC507
Second voice, not a rival
Dark variant#3A0778
Hover, pressed, headers
Light variant#F1E7FE
Selected rows, tints
Dark surface#1B1424
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 #6b0ddf

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#81DF0D
Analogous left#0D18DF
Analogous right#D40DDF
Split-complement 1#DFD40D
Split-complement 2#18DF0D
Triadic 1#DF6B0D
Triadic 2#0DDF6B
Tetradic#DF0D18

RGB percentages

Red42.0%
Green5.1%
Blue87.5%

CMYK percentages

Cyan52.0%
Magenta94.2%
Yellow0.0%
Key (black)12.5%

Color previews

#6b0ddf text on a black background

contrast 2.75:1

Card sample

#6b0ddf text on a white background

contrast 7.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6b0ddf

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.

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

#6b0ddf, answered

What color is #6b0ddf?

#6b0ddf is a balanced electric violet, closest to Blue Violet (ΔE2000 6.3). It sits at 267° on the hue wheel with 89% saturation and 46% lightness, which reads as cool.

What is the RGB value of #6b0ddf?

rgb(107, 13, 223) — 107 red, 13 green and 223 blue out of 255, or 42% / 5.1% / 87.5% by channel.

Is #6b0ddf a light or a dark color?

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

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

White. It scores 7.64:1 against #6b0ddf, versus 2.75:1 for black — AAA at any size.

What is the complementary color of #6b0ddf?

#81DF0D sits directly opposite on the wheel. Softer options are the split-complements #DFD40D and #18DF0D, which give the same contrast with far less vibration.

What colors go well with #6b0ddf?

For interface work: #F7F4FA as the surface, #D4C0ED for borders, #6F4B9B for secondary text, #9FC507 as an accent and #3A0778 for hover and pressed states. For a palette, the analogous pair #0D18DF and #D40DDF stays calm, while #81DF0D is the loudest partner.

What is #6b0ddf in CMYK for printing?

cmyk(52%, 94%, 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 #6b0ddf warm or cool?

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

Work with #6b0ddf in the Color Lab