Skip to content

#901bc9

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

RGB
144, 27, 201
HSL
280°, 76%, 45%
CMYK
28, 87, 0, 21
Luminance
0.1093

At a glance

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

Hex
#901bc9
Hue
280°
violet
Saturation
76%
electric
Lightness
45%
dark
Brightness
79%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1093
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.59:1
Closest name
Dark Violet
ΔE2000 1.5
Where it sits
Hue280° of 360°
Saturation76%
Lightness45%
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#901bc9
RGBrgb(144, 27, 201)
HSLhsl(280, 76%, 45%)
CMYKcmyk(28%, 87%, 0%, 21%)
LABlab(39.5 69.9 -64.8)
LCHlch(39.5 95.3 317.2)
OKLCHoklch(0.510 0.241 310.2)
Decimal9444297
Display P3color(display-p3 0.565 0.106 0.788)

Copy-ready code

/* CSS */
color: #901bc9;
background-color: #901bc9;
/* Tailwind (arbitrary) */
class="text-[#901bc9] bg-[#901bc9]"
/* SCSS */
$brand: #901bc9;
/* SwiftUI */
Color(red: 0.565, green: 0.106, blue: 0.788)
/* Android */
Color.parseColor("#901bc9")
/* Flutter */
Color(0xFF901BC9)
/* Python / OpenCV (BGR) */
(201, 27, 144)

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

Accessibility — WCAG contrast

Aa
#901bc9 on white: 6.59:1
AA ✓ pass · AA-large · AAA
Aa
#901bc9 on black: 3.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0058CD
deuteranopia · #005EC6
tritanopia · #884D78

Color scale — 50 to 950

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

#F9F3FC
#F3E7F9
#E5C8F4
#D69CF2
#C16BEB
#AC39E4
#901bc9
#8118B4
#671390
#4C1268
#2F0B41
Base = 600Lightest = 50 · #F9F3FCDarkest = 950 · #2F0B41
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F3E7F9;
  --brand-200: #E5C8F4;
  --brand-300: #D69CF2;
  --brand-400: #C16BEB;
  --brand-500: #AC39E4;
  --brand-600: #901bc9;
  --brand-700: #8118B4;
  --brand-800: #671390;
  --brand-900: #4C1268;
  --brand-950: #2F0B41;
  --brand: #901bc9;
  --brand-ink: #ffffff;
}

Colors that work with #901bc9

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#814B9B
Captions on the surface
Accent#73B814
Second voice, not a rival
Dark variant#500F70
Hover, pressed, headers
Light variant#F6E9FC
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 #901bc9

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#54C91B
Analogous left#391BC9
Analogous right#C91BAB
Split-complement 1#ABC91B
Split-complement 2#1BC939
Triadic 1#C9901B
Triadic 2#1BC990
Tetradic#C9391B

RGB percentages

Red56.5%
Green10.6%
Blue78.8%

CMYK percentages

Cyan28.4%
Magenta86.6%
Yellow0.0%
Key (black)21.2%

Color previews

#901bc9 text on a black background

contrast 3.19:1

Card sample

#901bc9 text on a white background

contrast 6.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #901bc9;
Background color
Panel with #901bc9 background
background-color: #901bc9;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #901bc9;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(144, 27, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(144, 27, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #901bc9;
background: linear-gradient(135deg, #901bc9, #C91B8E);

Monochromatic scale

Palettes built from #901bc9

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.

#901bc9 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.

#901bc9, answered

What color is #901bc9?

#901bc9 is a dark electric violet, closest to Dark Violet (ΔE2000 1.5). It sits at 280° on the hue wheel with 76% saturation and 45% lightness, which reads as cool.

What is the RGB value of #901bc9?

rgb(144, 27, 201) — 144 red, 27 green and 201 blue out of 255, or 56.5% / 10.6% / 78.8% by channel.

Is #901bc9 a light or a dark color?

It is a dark color. Relative luminance is 0.1093 and perceived brightness is 42%, so white text on it reaches 6.59:1.

Should I use black or white text on #901bc9?

White. It scores 6.59:1 against #901bc9, versus 3.19:1 for black — AA at any size.

What is the complementary color of #901bc9?

#54C91B sits directly opposite on the wheel. Softer options are the split-complements #ABC91B and #1BC939, which give the same contrast with far less vibration.

What colors go well with #901bc9?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #73B814 as an accent and #500F70 for hover and pressed states. For a palette, the analogous pair #391BC9 and #C91BAB stays calm, while #54C91B is the loudest partner.

What is #901bc9 in CMYK for printing?

cmyk(28%, 87%, 0%, 21%). 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 #901bc9 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 #C91BC2; nudged cooler, #4F19CB.

Work with #901bc9 in the Color Lab