Skip to content

#9331b2

a dark, vivid violet · neutral · closest name: Dark Orchid

RGB
147, 49, 178
HSL
286°, 57%, 45%
CMYK
17, 73, 0, 30
Luminance
0.1161

At a glance

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

Hex
#9331b2
Hue
286°
violet
Saturation
57%
vivid
Lightness
45%
dark
Brightness
70%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1161
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.32:1
Closest name
Dark Orchid
ΔE2000 4
Where it sits
Hue286° of 360°
Saturation57%
Lightness45%
Temperature
Warm ← → Cool58% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#9331b2
RGBrgb(147, 49, 178)
HSLhsl(286, 57%, 45%)
CMYKcmyk(17%, 73%, 0%, 30%)
LABlab(40.6 59.1 -49.4)
LCHlch(40.6 77.0 320.1)
OKLCHoklch(0.514 0.203 316.7)
Decimal9646514
Display P3color(display-p3 0.576 0.192 0.698)

Copy-ready code

/* CSS */
color: #9331b2;
background-color: #9331b2;
/* Tailwind (arbitrary) */
class="text-[#9331b2] bg-[#9331b2]"
/* SCSS */
$brand: #9331b2;
/* SwiftUI */
Color(red: 0.576, green: 0.192, blue: 0.698)
/* Android */
Color.parseColor("#9331b2")
/* Flutter */
Color(0xFF9331B2)
/* Python / OpenCV (BGR) */
(178, 49, 147)

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

Accessibility — WCAG contrast

Aa
#9331b2 on white: 6.32:1
AA ✓ pass · AA-large · AAA
Aa
#9331b2 on black: 3.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005AB6
deuteranopia · #3263AF
tritanopia · #914C6F

Color scale — 50 to 950

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

#F9F4FB
#F3E9F6
#E6CDEE
#D7A7E7
#C47BDB
#B04FCF
#9331b2
#842CA0
#6A2380
#4E1D5D
#31123A
Base = 600Lightest = 50 · #F9F4FBDarkest = 950 · #31123A
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E9F6;
  --brand-200: #E6CDEE;
  --brand-300: #D7A7E7;
  --brand-400: #C47BDB;
  --brand-500: #B04FCF;
  --brand-600: #9331b2;
  --brand-700: #842CA0;
  --brand-800: #6A2380;
  --brand-900: #4E1D5D;
  --brand-950: #31123A;
  --brand: #9331b2;
  --brand-ink: #ffffff;
}

Colors that work with #9331b2

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#884B9B
Captions on the surface
Accent#65A428
Second voice, not a rival
Dark variant#531C64
Hover, pressed, headers
Light variant#F6EBF9
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 #9331b2

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#50B231
Analogous left#5331B2
Analogous right#B23190
Split-complement 1#90B231
Split-complement 2#31B253
Triadic 1#B29331
Triadic 2#31B293
Tetradic#B25331

RGB percentages

Red57.6%
Green19.2%
Blue69.8%

CMYK percentages

Cyan17.4%
Magenta72.5%
Yellow0.0%
Key (black)30.2%

Color previews

#9331b2 text on a black background

contrast 3.32:1

Card sample

#9331b2 text on a white background

contrast 6.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9331b2;
Background color
Panel with #9331b2 background
background-color: #9331b2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9331b2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(147, 49, 178, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(147, 49, 178, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9331b2;
background: linear-gradient(135deg, #9331b2, #B2317B);

Monochromatic scale

Palettes built from #9331b2

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.

#9331b2 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

Converts to four-color process without much drama. Proof it anyway.

#9331b2, answered

What color is #9331b2?

#9331b2 is a dark vivid violet, closest to Dark Orchid (ΔE2000 4). It sits at 286° on the hue wheel with 57% saturation and 45% lightness, which reads as neutral.

What is the RGB value of #9331b2?

rgb(147, 49, 178) — 147 red, 49 green and 178 blue out of 255, or 57.6% / 19.2% / 69.8% by channel.

Is #9331b2 a light or a dark color?

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

Should I use black or white text on #9331b2?

White. It scores 6.32:1 against #9331b2, versus 3.32:1 for black — AA at any size.

What is the complementary color of #9331b2?

#50B231 sits directly opposite on the wheel. Softer options are the split-complements #90B231 and #31B253, which give the same contrast with far less vibration.

What colors go well with #9331b2?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #65A428 as an accent and #531C64 for hover and pressed states. For a palette, the analogous pair #5331B2 and #B23190 stays calm, while #50B231 is the loudest partner.

What is #9331b2 in CMYK for printing?

cmyk(17%, 73%, 0%, 30%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #9331b2 warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B231A2; nudged cooler, #632FB4.

Work with #9331b2 in the Color Lab