Skip to content

#930baf

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

RGB
147, 11, 175
HSL
290°, 88%, 37%
CMYK
16, 94, 0, 31
Luminance
0.0954

At a glance

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

Hex
#930baf
Hue
290°
violet
Saturation
88%
electric
Lightness
37%
dark
Brightness
69%
HSV value
Perceived
39%
weighted brightness
Luminance
0.0954
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
White
7.22:1
Closest name
Dark Violet
ΔE2000 5.1
Where it sits
Hue290° of 360°
Saturation88%
Lightness37%
Temperature
Warm ← → Cool56% 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#930baf
RGBrgb(147, 11, 175)
HSLhsl(290, 88%, 37%)
CMYKcmyk(16%, 94%, 0%, 31%)
LABlab(37.0 68.4 -53.4)
LCHlch(37.0 86.8 322.0)
OKLCHoklch(0.488 0.230 319.0)
Decimal9636783
Display P3color(display-p3 0.576 0.043 0.686)

Copy-ready code

/* CSS */
color: #930baf;
background-color: #930baf;
/* Tailwind (arbitrary) */
class="text-[#930baf] bg-[#930baf]"
/* SCSS */
$brand: #930baf;
/* SwiftUI */
Color(red: 0.576, green: 0.043, blue: 0.686)
/* Android */
Color.parseColor("#930baf")
/* Flutter */
Color(0xFF930BAF)
/* Python / OpenCV (BGR) */
(175, 11, 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 #930baf · 7.22:1
Use #ffffffAAA at every size.
Aa
White text · 7.22:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.91:1
AA fail · AA large fail · AAA fail
Reading the other direction: #930baf as text scores 7.22:1 on white and 2.91:1 on black.

Accessibility — WCAG contrast

Aa
#930baf on white: 7.22:1
AA ✓ pass · AA-large · AAA
Aa
#930baf on black: 2.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004FB3
deuteranopia · #1D5BAC
tritanopia · #923B66

Color scale — 50 to 950

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

#FBF2FD
#F7E5FA
#EFC4F8
#E895F8
#DC61F5
#D02CF2
#C20EE6
#930baf
#810A9A
#5E0C6F
#3B0745
Base = 700Lightest = 50 · #FBF2FDDarkest = 950 · #3B0745
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F7E5FA;
  --brand-200: #EFC4F8;
  --brand-300: #E895F8;
  --brand-400: #DC61F5;
  --brand-500: #D02CF2;
  --brand-600: #C20EE6;
  --brand-700: #930baf;
  --brand-800: #810A9A;
  --brand-900: #5E0C6F;
  --brand-950: #3B0745;
  --brand: #930baf;
  --brand-ink: #ffffff;
}

Colors that work with #930baf

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#E5C0ED
Hairlines and dividers
Muted text#8D4B9B
Captions on the surface
Accent#57C408
Second voice, not a rival
Dark variant#650878
Hover, pressed, headers
Light variant#FAE7FD
Selected rows, tints
Dark surface#221424
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 #930baf

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#27AF0B
Analogous left#410BAF
Analogous right#AF0B79
Split-complement 1#79AF0B
Split-complement 2#0BAF41
Triadic 1#AF930B
Triadic 2#0BAF93
Tetradic#AF410B

RGB percentages

Red57.6%
Green4.3%
Blue68.6%

CMYK percentages

Cyan16.0%
Magenta93.7%
Yellow0.0%
Key (black)31.4%

Color previews

#930baf text on a black background

contrast 2.91:1

Card sample

#930baf text on a white background

contrast 7.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #930baf;
Background color
Panel with #930baf background
background-color: #930baf;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #930baf;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(147, 11, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(147, 11, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #930baf;
background: linear-gradient(135deg, #930baf, #AF0B5E);

Monochromatic scale

Palettes built from #930baf

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.

#930baf 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.

#930baf, answered

What color is #930baf?

#930baf is a dark electric violet, closest to Dark Violet (ΔE2000 5.1). It sits at 290° on the hue wheel with 88% saturation and 37% lightness, which reads as neutral.

What is the RGB value of #930baf?

rgb(147, 11, 175) — 147 red, 11 green and 175 blue out of 255, or 57.6% / 4.3% / 68.6% by channel.

Is #930baf a light or a dark color?

It is a dark color. Relative luminance is 0.0954 and perceived brightness is 39%, so white text on it reaches 7.22:1.

Should I use black or white text on #930baf?

White. It scores 7.22:1 against #930baf, versus 2.91:1 for black — AAA at any size.

What is the complementary color of #930baf?

#27AF0B sits directly opposite on the wheel. Softer options are the split-complements #79AF0B and #0BAF41, which give the same contrast with far less vibration.

What colors go well with #930baf?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #57C408 as an accent and #650878 for hover and pressed states. For a palette, the analogous pair #410BAF and #AF0B79 stays calm, while #27AF0B is the loudest partner.

What is #930baf in CMYK for printing?

cmyk(16%, 94%, 0%, 31%). 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 #930baf warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AF0B8F; nudged cooler, #5709B1.

Work with #930baf in the Color Lab