Skip to content

#7c06af

a dark, electric violet · cool · closest name: Dark Violet

RGB
124, 6, 175
HSL
282°, 93%, 36%
CMYK
29, 97, 0, 31
Luminance
0.0751

At a glance

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

Hex
#7c06af
Hue
282°
violet
Saturation
93%
electric
Lightness
36%
dark
Brightness
69%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0751
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
White
8.39:1
Closest name
Dark Violet
ΔE2000 6.2
Where it sits
Hue282° of 360°
Saturation93%
Lightness36%
Temperature
Warm ← → Cool60% 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#7c06af
RGBrgb(124, 6, 175)
HSLhsl(282, 93%, 36%)
CMYKcmyk(29%, 97%, 0%, 31%)
LABlab(32.9 65.8 -60.2)
LCHlch(32.9 89.2 317.5)
OKLCHoklch(0.453 0.225 310.4)
Decimal8128175
Display P3color(display-p3 0.486 0.024 0.686)

Copy-ready code

/* CSS */
color: #7c06af;
background-color: #7c06af;
/* Tailwind (arbitrary) */
class="text-[#7c06af] bg-[#7c06af]"
/* SCSS */
$brand: #7c06af;
/* SwiftUI */
Color(red: 0.486, green: 0.024, blue: 0.686)
/* Android */
Color.parseColor("#7c06af")
/* Flutter */
Color(0xFF7C06AF)
/* Python / OpenCV (BGR) */
(175, 6, 124)

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

Accessibility — WCAG contrast

Aa
#7c06af on white: 8.39:1
AA ✓ pass · AA-large · AAA
Aa
#7c06af on black: 2.50:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0049B3
deuteranopia · #004FAC
tritanopia · #753F66

Color scale — 50 to 950

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

#FAF2FD
#F4E4FB
#E9C2F9
#DC93FB
#CA5CF9
#B826F8
#A808ED
#8C07C5
#7c06af
#520972
#330547
Base = 800Lightest = 50 · #FAF2FDDarkest = 950 · #330547
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F4E4FB;
  --brand-200: #E9C2F9;
  --brand-300: #DC93FB;
  --brand-400: #CA5CF9;
  --brand-500: #B826F8;
  --brand-600: #A808ED;
  --brand-700: #8C07C5;
  --brand-800: #7c06af;
  --brand-900: #520972;
  --brand-950: #330547;
  --brand: #7c06af;
  --brand-ink: #ffffff;
}

Colors that work with #7c06af

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#F9F4FA
Tinted page background
Border#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#71CA02
Second voice, not a rival
Dark variant#57047B
Hover, pressed, headers
Light variant#F7E6FE
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 #7c06af

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#39AF06
Analogous left#2806AF
Analogous right#AF068E
Split-complement 1#8EAF06
Split-complement 2#06AF28
Triadic 1#AF7C06
Triadic 2#06AF7C
Tetradic#AF2806

RGB percentages

Red48.6%
Green2.4%
Blue68.6%

CMYK percentages

Cyan29.1%
Magenta96.6%
Yellow0.0%
Key (black)31.4%

Color previews

#7c06af text on a black background

contrast 2.50:1

Card sample

#7c06af text on a white background

contrast 8.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7c06af;
Background color
Panel with #7c06af background
background-color: #7c06af;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7c06af;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(124, 6, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 6, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7c06af;
background: linear-gradient(135deg, #7c06af, #AF0671);

Monochromatic scale

Palettes built from #7c06af

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.

#7c06af 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.

#7c06af, answered

What color is #7c06af?

#7c06af is a dark electric violet, closest to Dark Violet (ΔE2000 6.2). It sits at 282° on the hue wheel with 93% saturation and 36% lightness, which reads as cool.

What is the RGB value of #7c06af?

rgb(124, 6, 175) — 124 red, 6 green and 175 blue out of 255, or 48.6% / 2.4% / 68.6% by channel.

Is #7c06af a light or a dark color?

It is a dark color. Relative luminance is 0.0751 and perceived brightness is 35%, so white text on it reaches 8.39:1.

Should I use black or white text on #7c06af?

White. It scores 8.39:1 against #7c06af, versus 2.50:1 for black — AAA at any size.

What is the complementary color of #7c06af?

#39AF06 sits directly opposite on the wheel. Softer options are the split-complements #8EAF06 and #06AF28, which give the same contrast with far less vibration.

What colors go well with #7c06af?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #71CA02 as an accent and #57047B for hover and pressed states. For a palette, the analogous pair #2806AF and #AF068E stays calm, while #39AF06 is the loudest partner.

What is #7c06af in CMYK for printing?

cmyk(29%, 97%, 0%, 31%). 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 #7c06af warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF06A4; nudged cooler, #3D04B1.

Work with #7c06af in the Color Lab