Skip to content

#6e2ab9

a dark, vivid violet · cool · closest name: Rebecca Purple

RGB
110, 42, 185
HSL
269°, 63%, 45%
CMYK
41, 77, 0, 28
Luminance
0.0847

At a glance

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

Hex
#6e2ab9
Hue
269°
violet
Saturation
63%
vivid
Lightness
45%
dark
Brightness
73%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0847
WCAG relative
Temperature
Cool
68/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
7.79:1
Closest name
Rebecca Purple
ΔE2000 5.1
Where it sits
Hue269° of 360°
Saturation63%
Lightness45%
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#6e2ab9
RGBrgb(110, 42, 185)
HSLhsl(269, 63%, 45%)
CMYKcmyk(41%, 77%, 0%, 28%)
LABlab(35.0 56.5 -63.0)
LCHlch(35.0 84.6 311.9)
OKLCHoklch(0.465 0.207 299.7)
Decimal7219897
Display P3color(display-p3 0.431 0.165 0.725)

Copy-ready code

/* CSS */
color: #6e2ab9;
background-color: #6e2ab9;
/* Tailwind (arbitrary) */
class="text-[#6e2ab9] bg-[#6e2ab9]"
/* SCSS */
$brand: #6e2ab9;
/* SwiftUI */
Color(red: 0.431, green: 0.165, blue: 0.725)
/* Android */
Color.parseColor("#6e2ab9")
/* Flutter */
Color(0xFF6E2AB9)
/* Python / OpenCV (BGR) */
(185, 42, 110)

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

Accessibility — WCAG contrast

Aa
#6e2ab9 on white: 7.79:1
AA ✓ pass · AA-large · AAA
Aa
#6e2ab9 on black: 2.69:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052BD
deuteranopia · #0051B6
tritanopia · #5C5071

Color scale — 50 to 950

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

#F7F4FB
#EFE8F7
#DDCBF0
#C5A4EA
#A876E0
#8B48D5
#6e2ab9
#6326A6
#4F1E85
#3B1A61
#25103C
Base = 600Lightest = 50 · #F7F4FBDarkest = 950 · #25103C
:root {
  --brand-50: #F7F4FB;
  --brand-100: #EFE8F7;
  --brand-200: #DDCBF0;
  --brand-300: #C5A4EA;
  --brand-400: #A876E0;
  --brand-500: #8B48D5;
  --brand-600: #6e2ab9;
  --brand-700: #6326A6;
  --brand-800: #4F1E85;
  --brand-900: #3B1A61;
  --brand-950: #25103C;
  --brand: #6e2ab9;
  --brand-ink: #ffffff;
}

Colors that work with #6e2ab9

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#8BAB21
Second voice, not a rival
Dark variant#3E1868
Hover, pressed, headers
Light variant#F2EAFA
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 #6e2ab9

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#75B92A
Analogous left#2A2EB9
Analogous right#B52AB9
Split-complement 1#B9B52A
Split-complement 2#2EB92A
Triadic 1#B96E2A
Triadic 2#2AB96E
Tetradic#B92A2E

RGB percentages

Red43.1%
Green16.5%
Blue72.5%

CMYK percentages

Cyan40.5%
Magenta77.3%
Yellow0.0%
Key (black)27.5%

Color previews

#6e2ab9 text on a black background

contrast 2.69:1

Card sample

#6e2ab9 text on a white background

contrast 7.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(110, 42, 185, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(110, 42, 185, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6e2ab9;
background: linear-gradient(135deg, #6e2ab9, #B92AA5);

Monochromatic scale

Palettes built from #6e2ab9

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.

#6e2ab9 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

Converts to four-color process without much drama. Proof it anyway.

#6e2ab9, answered

What color is #6e2ab9?

#6e2ab9 is a dark vivid violet, closest to Rebecca Purple (ΔE2000 5.1). It sits at 269° on the hue wheel with 63% saturation and 45% lightness, which reads as cool.

What is the RGB value of #6e2ab9?

rgb(110, 42, 185) — 110 red, 42 green and 185 blue out of 255, or 43.1% / 16.5% / 72.5% by channel.

Is #6e2ab9 a light or a dark color?

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

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

White. It scores 7.79:1 against #6e2ab9, versus 2.69:1 for black — AAA at any size.

What is the complementary color of #6e2ab9?

#75B92A sits directly opposite on the wheel. Softer options are the split-complements #B9B52A and #2EB92A, which give the same contrast with far less vibration.

What colors go well with #6e2ab9?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #8BAB21 as an accent and #3E1868 for hover and pressed states. For a palette, the analogous pair #2A2EB9 and #B52AB9 stays calm, while #75B92A is the loudest partner.

What is #6e2ab9 in CMYK for printing?

cmyk(41%, 77%, 0%, 28%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #6e2ab9 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 #A22AB9; nudged cooler, #3828BB.

Work with #6e2ab9 in the Color Lab