Skip to content

#7c01b3

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

RGB
124, 1, 179
HSL
282°, 99%, 35%
CMYK
31, 99, 0, 30
Luminance
0.0756

At a glance

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

Hex
#7c01b3
Hue
282°
violet
Saturation
99%
electric
Lightness
35%
dark
Brightness
70%
HSV value
Perceived
36%
weighted brightness
Luminance
0.0756
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
White
8.36:1
Closest name
Dark Violet
ΔE2000 5.9
Where it sits
Hue282° of 360°
Saturation99%
Lightness35%
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#7c01b3
RGBrgb(124, 1, 179)
HSLhsl(282, 99%, 35%)
CMYKcmyk(31%, 99%, 0%, 30%)
LABlab(33.0 67.3 -62.4)
LCHlch(33.0 91.8 317.1)
OKLCHoklch(0.454 0.230 309.4)
Decimal8126899
Display P3color(display-p3 0.486 0.004 0.702)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7c01b3 on white: 8.36:1
AA ✓ pass · AA-large · AAA
Aa
#7c01b3 on black: 2.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004AB7
deuteranopia · #004FB0
tritanopia · #734068

Color scale — 50 to 950

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

#FAF1FE
#F4E3FC
#E9C0FB
#DC8FFE
#CB58FE
#B920FE
#A901F3
#8D01CB
#7c01b3
#530675
#340349
Base = 800Lightest = 50 · #FAF1FEDarkest = 950 · #340349
:root {
  --brand-50: #FAF1FE;
  --brand-100: #F4E3FC;
  --brand-200: #E9C0FB;
  --brand-300: #DC8FFE;
  --brand-400: #CB58FE;
  --brand-500: #B920FE;
  --brand-600: #A901F3;
  --brand-700: #8D01CB;
  --brand-800: #7c01b3;
  --brand-900: #530675;
  --brand-950: #340349;
  --brand: #7c01b3;
  --brand-ink: #ffffff;
}

Colors that work with #7c01b3

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#824B9B
Captions on the surface
Accent#73CC00
Second voice, not a rival
Dark variant#58017F
Hover, pressed, headers
Light variant#F7E6FF
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 #7c01b3

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#38B301
Analogous left#2301B3
Analogous right#B30191
Split-complement 1#91B301
Split-complement 2#01B323
Triadic 1#B37C01
Triadic 2#01B37C
Tetradic#B32301

RGB percentages

Red48.6%
Green0.4%
Blue70.2%

CMYK percentages

Cyan30.7%
Magenta99.4%
Yellow0.0%
Key (black)29.8%

Color previews

#7c01b3 text on a black background

contrast 2.51:1

Card sample

#7c01b3 text on a white background

contrast 8.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7c01b3

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.

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

#7c01b3, answered

What color is #7c01b3?

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

What is the RGB value of #7c01b3?

rgb(124, 1, 179) — 124 red, 1 green and 179 blue out of 255, or 48.6% / 0.4% / 70.2% by channel.

Is #7c01b3 a light or a dark color?

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

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

White. It scores 8.36:1 against #7c01b3, versus 2.51:1 for black — AAA at any size.

What is the complementary color of #7c01b3?

#38B301 sits directly opposite on the wheel. Softer options are the split-complements #91B301 and #01B323, which give the same contrast with far less vibration.

What colors go well with #7c01b3?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #824B9B for secondary text, #73CC00 as an accent and #58017F for hover and pressed states. For a palette, the analogous pair #2301B3 and #B30191 stays calm, while #38B301 is the loudest partner.

What is #7c01b3 in CMYK for printing?

cmyk(31%, 99%, 0%, 30%). 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 #7c01b3 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 #B301A9; nudged cooler, #3B00B4.

Work with #7c01b3 in the Color Lab