Skip to content

#900dbb

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

RGB
144, 13, 187
HSL
285°, 87%, 39%
CMYK
23, 93, 0, 27
Luminance
0.0980

At a glance

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

Hex
#900dbb
Hue
285°
violet
Saturation
87%
electric
Lightness
39%
dark
Brightness
73%
HSV value
Perceived
40%
weighted brightness
Luminance
0.0980
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.09:1
Closest name
Dark Violet
ΔE2000 3.3
Where it sits
Hue285° of 360°
Saturation87%
Lightness39%
Temperature
Warm ← → Cool58% 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#900dbb
RGBrgb(144, 13, 187)
HSLhsl(285, 87%, 39%)
CMYKcmyk(23%, 93%, 0%, 27%)
LABlab(37.5 69.8 -59.8)
LCHlch(37.5 91.9 319.4)
OKLCHoklch(0.493 0.237 314.4)
Decimal9440699
Display P3color(display-p3 0.565 0.051 0.733)

Copy-ready code

/* CSS */
color: #900dbb;
background-color: #900dbb;
/* Tailwind (arbitrary) */
class="text-[#900dbb] bg-[#900dbb]"
/* SCSS */
$brand: #900dbb;
/* SwiftUI */
Color(red: 0.565, green: 0.051, blue: 0.733)
/* Android */
Color.parseColor("#900dbb")
/* Flutter */
Color(0xFF900DBB)
/* Python / OpenCV (BGR) */
(187, 13, 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 #900dbb · 7.09:1
Use #ffffffAAA at every size.
Aa
White text · 7.09:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.96:1
AA fail · AA large fail · AAA fail
Reading the other direction: #900dbb as text scores 7.09:1 on white and 2.96:1 on black.

Accessibility — WCAG contrast

Aa
#900dbb on white: 7.09:1
AA ✓ pass · AA-large · AAA
Aa
#900dbb on black: 2.96:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0052BF
deuteranopia · #005BB8
tritanopia · #8C426E

Color scale — 50 to 950

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

#FAF2FD
#F5E5FA
#EBC4F7
#E096F8
#D062F4
#C02DF0
#B010E5
#900dbb
#760B99
#560C6E
#360845
Base = 700Lightest = 50 · #FAF2FDDarkest = 950 · #360845
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F5E5FA;
  --brand-200: #EBC4F7;
  --brand-300: #E096F8;
  --brand-400: #D062F4;
  --brand-500: #C02DF0;
  --brand-600: #B010E5;
  --brand-700: #900dbb;
  --brand-800: #760B99;
  --brand-900: #560C6E;
  --brand-950: #360845;
  --brand: #900dbb;
  --brand-ink: #ffffff;
}

Colors that work with #900dbb

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#E2C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#65C309
Second voice, not a rival
Dark variant#5C0877
Hover, pressed, headers
Light variant#F8E7FD
Selected rows, tints
Dark surface#201424
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 #900dbb

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#38BB0D
Analogous left#390DBB
Analogous right#BB0D8F
Split-complement 1#8FBB0D
Split-complement 2#0DBB39
Triadic 1#BB900D
Triadic 2#0DBB90
Tetradic#BB390D

RGB percentages

Red56.5%
Green5.1%
Blue73.3%

CMYK percentages

Cyan23.0%
Magenta93.0%
Yellow0.0%
Key (black)26.7%

Color previews

#900dbb text on a black background

contrast 2.96:1

Card sample

#900dbb text on a white background

contrast 7.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #900dbb;
Background color
Panel with #900dbb background
background-color: #900dbb;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #900dbb;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(144, 13, 187, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(144, 13, 187, 0.45);
Border & gradient
Gradient panel
border: 3px solid #900dbb;
background: linear-gradient(135deg, #900dbb, #BB0D72);

Monochromatic scale

Palettes built from #900dbb

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.

#900dbb 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.

#900dbb, answered

What color is #900dbb?

#900dbb is a dark electric violet, closest to Dark Violet (ΔE2000 3.3). It sits at 285° on the hue wheel with 87% saturation and 39% lightness, which reads as cool.

What is the RGB value of #900dbb?

rgb(144, 13, 187) — 144 red, 13 green and 187 blue out of 255, or 56.5% / 5.1% / 73.3% by channel.

Is #900dbb a light or a dark color?

It is a dark color. Relative luminance is 0.0980 and perceived brightness is 40%, so white text on it reaches 7.09:1.

Should I use black or white text on #900dbb?

White. It scores 7.09:1 against #900dbb, versus 2.96:1 for black — AAA at any size.

What is the complementary color of #900dbb?

#38BB0D sits directly opposite on the wheel. Softer options are the split-complements #8FBB0D and #0DBB39, which give the same contrast with far less vibration.

What colors go well with #900dbb?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #874B9B for secondary text, #65C309 as an accent and #5C0877 for hover and pressed states. For a palette, the analogous pair #390DBB and #BB0D8F stays calm, while #38BB0D is the loudest partner.

What is #900dbb in CMYK for printing?

cmyk(23%, 93%, 0%, 27%). 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 #900dbb warm or cool?

Cool — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BB0DA6; nudged cooler, #500BBD.

Work with #900dbb in the Color Lab