Skip to content

#9b01df

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

RGB
155, 1, 223
HSL
282°, 99%, 44%
CMYK
31, 100, 0, 13
Luminance
0.1232

At a glance

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

Hex
#9b01df
Hue
282°
violet
Saturation
99%
electric
Lightness
44%
dark
Brightness
87%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1232
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.06:1
Closest name
Dark Violet
ΔE2000 2.1
Where it sits
Hue282° of 360°
Saturation99%
Lightness44%
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#9b01df
RGBrgb(155, 1, 223)
HSLhsl(282, 99%, 44%)
CMYKcmyk(31%, 100%, 0%, 13%)
LABlab(41.7 79.3 -73.7)
LCHlch(41.7 108.3 317.1)
OKLCHoklch(0.535 0.271 309.3)
Decimal10158559
Display P3color(display-p3 0.608 0.004 0.875)

Copy-ready code

/* CSS */
color: #9b01df;
background-color: #9b01df;
/* Tailwind (arbitrary) */
class="text-[#9b01df] bg-[#9b01df]"
/* SCSS */
$brand: #9b01df;
/* SwiftUI */
Color(red: 0.608, green: 0.004, blue: 0.875)
/* Android */
Color.parseColor("#9b01df")
/* Flutter */
Color(0xFF9B01DF)
/* Python / OpenCV (BGR) */
(223, 1, 155)

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 #9b01df · 6.06:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.06:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.46:1
AA fail · AA large pass · AAA fail
Reading the other direction: #9b01df as text scores 6.06:1 on white and 3.46:1 on black.

Accessibility — WCAG contrast

Aa
#9b01df on white: 6.06:1
AA ✓ pass · AA-large · AAA
Aa
#9b01df on black: 3.46:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005EE4
deuteranopia · #0064DB
tritanopia · #905283

Color scale — 50 to 950

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

#FAF1FE
#F4E3FC
#E9C0FB
#DC8FFE
#CB57FE
#BA20FE
#A901F4
#9b01df
#7101A2
#530575
#340349
Base = 700Lightest = 50 · #FAF1FEDarkest = 950 · #340349
:root {
  --brand-50: #FAF1FE;
  --brand-100: #F4E3FC;
  --brand-200: #E9C0FB;
  --brand-300: #DC8FFE;
  --brand-400: #CB57FE;
  --brand-500: #BA20FE;
  --brand-600: #A901F4;
  --brand-700: #9b01df;
  --brand-800: #7101A2;
  --brand-900: #530575;
  --brand-950: #340349;
  --brand: #9b01df;
  --brand-ink: #ffffff;
}

Colors that work with #9b01df

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#72CC00
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 #9b01df

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
  • 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#45DF01
Analogous left#2C01DF
Analogous right#DF01B4
Split-complement 1#B4DF01
Split-complement 2#01DF2C
Triadic 1#DF9B01
Triadic 2#01DF9B
Tetradic#DF2C01

RGB percentages

Red60.8%
Green0.4%
Blue87.5%

CMYK percentages

Cyan30.5%
Magenta99.6%
Yellow0.0%
Key (black)12.5%

Color previews

#9b01df text on a black background

contrast 3.46:1

Card sample

#9b01df text on a white background

contrast 6.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9b01df;
Background color
Panel with #9b01df background
background-color: #9b01df;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9b01df;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(155, 1, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 1, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b01df;
background: linear-gradient(135deg, #9b01df, #DF018F);

Monochromatic scale

Palettes built from #9b01df

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.

#9b01df 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.

#9b01df, answered

What color is #9b01df?

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

What is the RGB value of #9b01df?

rgb(155, 1, 223) — 155 red, 1 green and 223 blue out of 255, or 60.8% / 0.4% / 87.5% by channel.

Is #9b01df a light or a dark color?

It is a dark color. Relative luminance is 0.1232 and perceived brightness is 44%, so white text on it reaches 6.06:1.

Should I use black or white text on #9b01df?

White. It scores 6.06:1 against #9b01df, versus 3.46:1 for black — AA at any size.

What is the complementary color of #9b01df?

#45DF01 sits directly opposite on the wheel. Softer options are the split-complements #B4DF01 and #01DF2C, which give the same contrast with far less vibration.

What colors go well with #9b01df?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #824B9B for secondary text, #72CC00 as an accent and #58017F for hover and pressed states. For a palette, the analogous pair #2C01DF and #DF01B4 stays calm, while #45DF01 is the loudest partner.

What is #9b01df in CMYK for printing?

cmyk(31%, 100%, 0%, 13%). 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 #9b01df 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 #DF01D2; nudged cooler, #4900E0.

Work with #9b01df in the Color Lab