Skip to content

#6c01a1

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

RGB
108, 1, 161
HSL
280°, 99%, 32%
CMYK
33, 99, 0, 37
Luminance
0.0578

At a glance

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

Hex
#6c01a1
Hue
280°
violet
Saturation
99%
electric
Lightness
32%
dark
Brightness
63%
HSV value
Perceived
31%
weighted brightness
Luminance
0.0578
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
White
9.74:1
Closest name
Rebecca Purple
ΔE2000 6.3
Where it sits
Hue280° of 360°
Saturation99%
Lightness32%
Temperature
Warm ← → Cool61% 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#6c01a1
RGBrgb(108, 1, 161)
HSLhsl(280, 99%, 32%)
CMYKcmyk(33%, 99%, 0%, 37%)
LABlab(28.9 61.8 -58.6)
LCHlch(28.9 85.1 316.5)
OKLCHoklch(0.416 0.212 308.0)
Decimal7078305
Display P3color(display-p3 0.424 0.004 0.631)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6c01a1 on white: 9.74:1
AA ✓ pass · AA-large · AAA
Aa
#6c01a1 on black: 2.16:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0041A5
deuteranopia · #00459E
tritanopia · #63395D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #6c01a1 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
#F4E3FC
#E8C0FB
#DA8FFE
#C758FE
#B420FE
#A301F3
#8801CB
#6c01a1
#500675
#320349
Base = 800Lightest = 50 · #F9F1FEDarkest = 950 · #320349
:root {
  --brand-50: #F9F1FE;
  --brand-100: #F4E3FC;
  --brand-200: #E8C0FB;
  --brand-300: #DA8FFE;
  --brand-400: #C758FE;
  --brand-500: #B420FE;
  --brand-600: #A301F3;
  --brand-700: #8801CB;
  --brand-800: #6c01a1;
  --brand-900: #500675;
  --brand-950: #320349;
  --brand: #6c01a1;
  --brand-ink: #ffffff;
}

Colors that work with #6c01a1

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#DEC0ED
Hairlines and dividers
Muted text#804B9B
Captions on the surface
Accent#76CC00
Second voice, not a rival
Dark variant#55017F
Hover, pressed, headers
Light variant#F6E6FF
Selected rows, tints
Dark surface#1F1424
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 #6c01a1

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#36A101
Analogous left#1C01A1
Analogous right#A10186
Split-complement 1#86A101
Split-complement 2#01A11C
Triadic 1#A16C01
Triadic 2#01A16C
Tetradic#A11C01

RGB percentages

Red42.4%
Green0.4%
Blue63.1%

CMYK percentages

Cyan32.9%
Magenta99.4%
Yellow0.0%
Key (black)36.9%

Color previews

#6c01a1 text on a black background

contrast 2.16:1

Card sample

#6c01a1 text on a white background

contrast 9.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #6c01a1

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.

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

#6c01a1, answered

What color is #6c01a1?

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

What is the RGB value of #6c01a1?

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

Is #6c01a1 a light or a dark color?

It is a dark color. Relative luminance is 0.0578 and perceived brightness is 31%, so white text on it reaches 9.74:1.

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

White. It scores 9.74:1 against #6c01a1, versus 2.16:1 for black — AAA at any size.

What is the complementary color of #6c01a1?

#36A101 sits directly opposite on the wheel. Softer options are the split-complements #86A101 and #01A11C, which give the same contrast with far less vibration.

What colors go well with #6c01a1?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #804B9B for secondary text, #76CC00 as an accent and #55017F for hover and pressed states. For a palette, the analogous pair #1C01A1 and #A10186 stays calm, while #36A101 is the loudest partner.

What is #6c01a1 in CMYK for printing?

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

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A1019C; nudged cooler, #3100A2.

Work with #6c01a1 in the Color Lab