Skip to content

#3f0d4b

a deep, vivid violet · neutral · closest name: Indigo

RGB
63, 13, 75
HSL
288°, 71%, 17%
CMYK
16, 83, 0, 71
Luminance
0.0185

At a glance

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

Hex
#3f0d4b
Hue
288°
violet
Saturation
71%
vivid
Lightness
17%
deep
Brightness
29%
HSV value
Perceived
17%
weighted brightness
Luminance
0.0185
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
15.32:1
Closest name
Indigo
ΔE2000 10.5
Where it sits
Hue288° of 360°
Saturation71%
Lightness17%
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#3f0d4b
RGBrgb(63, 13, 75)
HSLhsl(288, 71%, 17%)
CMYKcmyk(16%, 83%, 0%, 71%)
LABlab(14.7 33.5 -26.6)
LCHlch(14.7 42.7 321.6)
OKLCHoklch(0.279 0.114 319.0)
Decimal4132171
Display P3color(display-p3 0.247 0.051 0.294)

Copy-ready code

/* CSS */
color: #3f0d4b;
background-color: #3f0d4b;
/* Tailwind (arbitrary) */
class="text-[#3f0d4b] bg-[#3f0d4b]"
/* SCSS */
$brand: #3f0d4b;
/* SwiftUI */
Color(red: 0.247, green: 0.051, blue: 0.294)
/* Android */
Color.parseColor("#3f0d4b")
/* Flutter */
Color(0xFF3F0D4B)
/* Python / OpenCV (BGR) */
(75, 13, 63)

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 #3f0d4b · 15.32:1
Use #ffffffAAA at every size.
Aa
White text · 15.32:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.37:1
AA fail · AA large fail · AAA fail
Reading the other direction: #3f0d4b as text scores 15.32:1 on white and 1.37:1 on black.

Accessibility — WCAG contrast

Aa
#3f0d4b on white: 15.32:1
AA ✓ pass · AA-large · AAA
Aa
#3f0d4b on black: 1.37:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #00224D
deuteranopia · #11274A
tritanopia · #3F1A2B

Color scale — 50 to 950

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

#FAF3FC
#F5E7F8
#EAC9F2
#DF9FEE
#CF70E6
#BF40DE
#AF24D1
#921EAE
#75188B
#561665
#3f0d4b
Base = 950Lightest = 50 · #FAF3FCDarkest = 950 · #3f0d4b
:root {
  --brand-50: #FAF3FC;
  --brand-100: #F5E7F8;
  --brand-200: #EAC9F2;
  --brand-300: #DF9FEE;
  --brand-400: #CF70E6;
  --brand-500: #BF40DE;
  --brand-600: #AF24D1;
  --brand-700: #921EAE;
  --brand-800: #75188B;
  --brand-900: #561665;
  --brand-950: #3f0d4b;
  --brand: #3f0d4b;
  --brand-ink: #ffffff;
}

Colors that work with #3f0d4b

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#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#284D0B
Second voice, not a rival
Dark variant#5B136D
Hover, pressed, headers
Light variant#F8E9FB
Selected rows, tints
Dark surface#211424
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 #3f0d4b

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#194B0D
Analogous left#200D4B
Analogous right#4B0D38
Split-complement 1#384B0D
Split-complement 2#0D4B20
Triadic 1#4B3F0D
Triadic 2#0D4B3F
Tetradic#4B200D

RGB percentages

Red24.7%
Green5.1%
Blue29.4%

CMYK percentages

Cyan16.0%
Magenta82.7%
Yellow0.0%
Key (black)70.6%

Color previews

#3f0d4b text on a black background

contrast 1.37:1

Card sample

#3f0d4b text on a white background

contrast 15.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3f0d4b;
Background color
Panel with #3f0d4b background
background-color: #3f0d4b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3f0d4b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(63, 13, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 13, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3f0d4b;
background: linear-gradient(135deg, #3f0d4b, #4B0D2E);

Monochromatic scale

Palettes built from #3f0d4b

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.

#3f0d4b 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.

#3f0d4b, answered

What color is #3f0d4b?

#3f0d4b is a deep vivid violet, closest to Indigo (ΔE2000 10.5). It sits at 288° on the hue wheel with 71% saturation and 17% lightness, which reads as neutral.

What is the RGB value of #3f0d4b?

rgb(63, 13, 75) — 63 red, 13 green and 75 blue out of 255, or 24.7% / 5.1% / 29.4% by channel.

Is #3f0d4b a light or a dark color?

It is a dark color. Relative luminance is 0.0185 and perceived brightness is 17%, so white text on it reaches 15.32:1.

Should I use black or white text on #3f0d4b?

White. It scores 15.32:1 against #3f0d4b, versus 1.37:1 for black — AAA at any size.

What is the complementary color of #3f0d4b?

#194B0D sits directly opposite on the wheel. Softer options are the split-complements #384B0D and #0D4B20, which give the same contrast with far less vibration.

What colors go well with #3f0d4b?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #284D0B as an accent and #5B136D for hover and pressed states. For a palette, the analogous pair #200D4B and #4B0D38 stays calm, while #194B0D is the loudest partner.

What is #3f0d4b in CMYK for printing?

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

Is #3f0d4b 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 #4B0D40; nudged cooler, #280C4C.

Work with #3f0d4b in the Color Lab