Skip to content

#6d2dfd

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

RGB
109, 45, 253
HSL
259°, 98%, 58%
CMYK
57, 82, 0, 1
Luminance
0.1222

At a glance

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

Hex
#6d2dfd
Hue
259°
violet
Saturation
98%
electric
Lightness
58%
balanced
Brightness
99%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1222
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.10:1
Closest name
Blue Violet
ΔE2000 5
Where it sits
Hue259° of 360°
Saturation98%
Lightness58%
Temperature
Warm ← → Cool73% 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#6d2dfd
RGBrgb(109, 45, 253)
HSLhsl(259, 98%, 58%)
CMYKcmyk(57%, 82%, 0%, 1%)
LABlab(41.6 72.1 -91.2)
LCHlch(41.6 116.2 308.3)
OKLCHoklch(0.529 0.274 286.4)
Decimal7155197
Display P3color(display-p3 0.427 0.176 0.992)

Copy-ready code

/* CSS */
color: #6d2dfd;
background-color: #6d2dfd;
/* Tailwind (arbitrary) */
class="text-[#6d2dfd] bg-[#6d2dfd]"
/* SCSS */
$brand: #6d2dfd;
/* SwiftUI */
Color(red: 0.427, green: 0.176, blue: 0.992)
/* Android */
Color.parseColor("#6d2dfd")
/* Flutter */
Color(0xFF6D2DFD)
/* Python / OpenCV (BGR) */
(253, 45, 109)

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 #6d2dfd · 6.10:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.10:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.44:1
AA fail · AA large pass · AAA fail
Reading the other direction: #6d2dfd as text scores 6.10:1 on white and 3.44:1 on black.

Accessibility — WCAG contrast

Aa
#6d2dfd on white: 6.10:1
AA ✓ pass · AA-large · AAA
Aa
#6d2dfd on black: 3.44:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067FF
deuteranopia · #005CF9
tritanopia · #206E99

Color scale — 50 to 950

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

#F5F1FD
#EBE3FC
#D3C1FB
#B290FE
#8B58FD
#6d2dfd
#4C02F2
#4002CA
#3302A2
#280674
#190449
Base = 500Lightest = 50 · #F5F1FDDarkest = 950 · #190449
:root {
  --brand-50: #F5F1FD;
  --brand-100: #EBE3FC;
  --brand-200: #D3C1FB;
  --brand-300: #B290FE;
  --brand-400: #8B58FD;
  --brand-500: #6d2dfd;
  --brand-600: #4C02F2;
  --brand-700: #4002CA;
  --brand-800: #3302A2;
  --brand-900: #280674;
  --brand-950: #190449;
  --brand: #6d2dfd;
  --brand-ink: #ffffff;
}

Colors that work with #6d2dfd

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#F6F4FA
Tinted page background
Border#CEC0ED
Hairlines and dividers
Muted text#634B9B
Captions on the surface
Accent#C0CC00
Second voice, not a rival
Dark variant#28017E
Hover, pressed, headers
Light variant#EDE6FF
Selected rows, tints
Dark surface#191424
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 #6d2dfd

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
  • 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#BDFD2D
Analogous left#2D55FD
Analogous right#D52DFD
Split-complement 1#FDD52D
Split-complement 2#55FD2D
Triadic 1#FD6D2D
Triadic 2#2DFD6D
Tetradic#FD2D55

RGB percentages

Red42.7%
Green17.6%
Blue99.2%

CMYK percentages

Cyan56.9%
Magenta82.2%
Yellow0.0%
Key (black)0.8%

Color previews

#6d2dfd text on a black background

contrast 3.44:1

Card sample

#6d2dfd text on a white background

contrast 6.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(109, 45, 253, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(109, 45, 253, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6d2dfd;
background: linear-gradient(135deg, #6d2dfd, #F82DFD);

Monochromatic scale

Palettes built from #6d2dfd

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.

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

#6d2dfd, answered

What color is #6d2dfd?

#6d2dfd is a balanced electric violet, closest to Blue Violet (ΔE2000 5). It sits at 259° on the hue wheel with 98% saturation and 58% lightness, which reads as cool.

What is the RGB value of #6d2dfd?

rgb(109, 45, 253) — 109 red, 45 green and 253 blue out of 255, or 42.7% / 17.6% / 99.2% by channel.

Is #6d2dfd a light or a dark color?

It is a dark color. Relative luminance is 0.1222 and perceived brightness is 43%, so white text on it reaches 6.10:1.

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

White. It scores 6.10:1 against #6d2dfd, versus 3.44:1 for black — AA at any size.

What is the complementary color of #6d2dfd?

#BDFD2D sits directly opposite on the wheel. Softer options are the split-complements #FDD52D and #55FD2D, which give the same contrast with far less vibration.

What colors go well with #6d2dfd?

For interface work: #F6F4FA as the surface, #CEC0ED for borders, #634B9B for secondary text, #C0CC00 as an accent and #28017E for hover and pressed states. For a palette, the analogous pair #2D55FD and #D52DFD stays calm, while #BDFD2D is the loudest partner.

What is #6d2dfd in CMYK for printing?

cmyk(57%, 82%, 0%, 1%). 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 #6d2dfd warm or cool?

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

Work with #6d2dfd in the Color Lab