Skip to content

#6c01aa

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

RGB
108, 1, 170
HSL
278°, 99%, 34%
CMYK
37, 99, 0, 33
Luminance
0.0611

At a glance

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

Hex
#6c01aa
Hue
278°
violet
Saturation
99%
electric
Lightness
34%
dark
Brightness
67%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0611
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
White
9.45:1
Closest name
Rebecca Purple
ΔE2000 6.5
Where it sits
Hue278° of 360°
Saturation99%
Lightness34%
Temperature
Warm ← → Cool62% 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#6c01aa
RGBrgb(108, 1, 170)
HSLhsl(278, 99%, 34%)
CMYKcmyk(37%, 99%, 0%, 33%)
LABlab(29.7 63.6 -62.6)
LCHlch(29.7 89.3 315.4)
OKLCHoklch(0.424 0.219 305.3)
Decimal7078314
Display P3color(display-p3 0.424 0.004 0.667)

Copy-ready code

/* CSS */
color: #6c01aa;
background-color: #6c01aa;
/* Tailwind (arbitrary) */
class="text-[#6c01aa] bg-[#6c01aa]"
/* SCSS */
$brand: #6c01aa;
/* SwiftUI */
Color(red: 0.424, green: 0.004, blue: 0.667)
/* Android */
Color.parseColor("#6c01aa")
/* Flutter */
Color(0xFF6C01AA)
/* Python / OpenCV (BGR) */
(170, 1, 108)

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

Accessibility — WCAG contrast

Aa
#6c01aa on white: 9.45:1
AA ✓ pass · AA-large · AAA
Aa
#6c01aa on black: 2.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0044AE
deuteranopia · #0046A7
tritanopia · #603E62

Color scale — 50 to 950

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

#F9F1FE
#F3E3FC
#E6C0FB
#D68FFE
#C158FE
#AC20FE
#9B01F3
#8101CB
#6c01aa
#4C0675
#300349
Base = 800Lightest = 50 · #F9F1FEDarkest = 950 · #300349
:root {
  --brand-50: #F9F1FE;
  --brand-100: #F3E3FC;
  --brand-200: #E6C0FB;
  --brand-300: #D68FFE;
  --brand-400: #C158FE;
  --brand-500: #AC20FE;
  --brand-600: #9B01F3;
  --brand-700: #8101CB;
  --brand-800: #6c01aa;
  --brand-900: #4C0675;
  --brand-950: #300349;
  --brand: #6c01aa;
  --brand-ink: #ffffff;
}

Colors that work with #6c01aa

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#DCC0ED
Hairlines and dividers
Muted text#7D4B9B
Captions on the surface
Accent#7DCC00
Second voice, not a rival
Dark variant#51017F
Hover, pressed, headers
Light variant#F6E6FF
Selected rows, tints
Dark surface#1E1424
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 #6c01aa

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#3FAA01
Analogous left#1801AA
Analogous right#AA0193
Split-complement 1#93AA01
Split-complement 2#01AA18
Triadic 1#AA6C01
Triadic 2#01AA6C
Tetradic#AA1801

RGB percentages

Red42.4%
Green0.4%
Blue66.7%

CMYK percentages

Cyan36.5%
Magenta99.4%
Yellow0.0%
Key (black)33.3%

Color previews

#6c01aa text on a black background

contrast 2.22:1

Card sample

#6c01aa text on a white background

contrast 9.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(108, 1, 170, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 1, 170, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c01aa;
background: linear-gradient(135deg, #6c01aa, #AA0177);

Monochromatic scale

Palettes built from #6c01aa

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.

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

#6c01aa, answered

What color is #6c01aa?

#6c01aa is a dark electric violet, closest to Rebecca Purple (ΔE2000 6.5). It sits at 278° on the hue wheel with 99% saturation and 34% lightness, which reads as cool.

What is the RGB value of #6c01aa?

rgb(108, 1, 170) — 108 red, 1 green and 170 blue out of 255, or 42.4% / 0.4% / 66.7% by channel.

Is #6c01aa a light or a dark color?

It is a dark color. Relative luminance is 0.0611 and perceived brightness is 32%, so white text on it reaches 9.45:1.

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

White. It scores 9.45:1 against #6c01aa, versus 2.22:1 for black — AAA at any size.

What is the complementary color of #6c01aa?

#3FAA01 sits directly opposite on the wheel. Softer options are the split-complements #93AA01 and #01AA18, which give the same contrast with far less vibration.

What colors go well with #6c01aa?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #7DCC00 as an accent and #51017F for hover and pressed states. For a palette, the analogous pair #1801AA and #AA0193 stays calm, while #3FAA01 is the loudest partner.

What is #6c01aa in CMYK for printing?

cmyk(37%, 99%, 0%, 33%). 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 #6c01aa warm or cool?

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

Work with #6c01aa in the Color Lab