Skip to content

#3f0f4f

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

RGB
63, 15, 79
HSL
285°, 68%, 18%
CMYK
20, 81, 0, 69
Luminance
0.0196

At a glance

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

Hex
#3f0f4f
Hue
285°
violet
Saturation
68%
vivid
Lightness
18%
deep
Brightness
31%
HSV value
Perceived
18%
weighted brightness
Luminance
0.0196
WCAG relative
Temperature
Cool
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
15.08:1
Closest name
Indigo
ΔE2000 9.7
Where it sits
Hue285° of 360°
Saturation68%
Lightness18%
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#3f0f4f
RGBrgb(63, 15, 79)
HSLhsl(285, 68%, 18%)
CMYKcmyk(20%, 81%, 0%, 69%)
LABlab(15.3 33.5 -28.3)
LCHlch(15.3 43.9 319.8)
OKLCHoklch(0.285 0.115 316.1)
Decimal4132687
Display P3color(display-p3 0.247 0.059 0.310)

Copy-ready code

/* CSS */
color: #3f0f4f;
background-color: #3f0f4f;
/* Tailwind (arbitrary) */
class="text-[#3f0f4f] bg-[#3f0f4f]"
/* SCSS */
$brand: #3f0f4f;
/* SwiftUI */
Color(red: 0.247, green: 0.059, blue: 0.310)
/* Android */
Color.parseColor("#3f0f4f")
/* Flutter */
Color(0xFF3F0F4F)
/* Python / OpenCV (BGR) */
(79, 15, 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 #3f0f4f · 15.08:1
Use #ffffffAAA at every size.
Aa
White text · 15.08:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.39:1
AA fail · AA large fail · AAA fail
Reading the other direction: #3f0f4f as text scores 15.08:1 on white and 1.39:1 on black.

Accessibility — WCAG contrast

Aa
#3f0f4f on white: 15.08:1
AA ✓ pass · AA-large · AAA
Aa
#3f0f4f on black: 1.39:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #002351
deuteranopia · #0E284E
tritanopia · #3E1D2E

Color scale — 50 to 950

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

#F9F3FB
#F4E8F8
#E8CAF2
#DAA1ED
#C872E4
#B542DB
#A427CE
#8921AB
#6D1A89
#501764
#3f0f4f
Base = 950Lightest = 50 · #F9F3FBDarkest = 950 · #3f0f4f
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F4E8F8;
  --brand-200: #E8CAF2;
  --brand-300: #DAA1ED;
  --brand-400: #C872E4;
  --brand-500: #B542DB;
  --brand-600: #A427CE;
  --brand-700: #8921AB;
  --brand-800: #6D1A89;
  --brand-900: #501764;
  --brand-950: #3f0f4f;
  --brand: #3f0f4f;
  --brand-ink: #ffffff;
}

Colors that work with #3f0f4f

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#E1C0ED
Hairlines and dividers
Muted text#874B9B
Captions on the surface
Accent#2F510D
Second voice, not a rival
Dark variant#55146B
Hover, pressed, headers
Light variant#F7EAFB
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 #3f0f4f

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#1F4F0F
Analogous left#1F0F4F
Analogous right#4F0F3F
Split-complement 1#3F4F0F
Split-complement 2#0F4F1F
Triadic 1#4F3F0F
Triadic 2#0F4F3F
Tetradic#4F1F0F

RGB percentages

Red24.7%
Green5.9%
Blue31.0%

CMYK percentages

Cyan20.3%
Magenta81.0%
Yellow0.0%
Key (black)69.0%

Color previews

#3f0f4f text on a black background

contrast 1.39:1

Card sample

#3f0f4f text on a white background

contrast 15.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f0f4f

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.

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

#3f0f4f, answered

What color is #3f0f4f?

#3f0f4f is a deep vivid violet, closest to Indigo (ΔE2000 9.7). It sits at 285° on the hue wheel with 68% saturation and 18% lightness, which reads as cool.

What is the RGB value of #3f0f4f?

rgb(63, 15, 79) — 63 red, 15 green and 79 blue out of 255, or 24.7% / 5.9% / 31% by channel.

Is #3f0f4f a light or a dark color?

It is a dark color. Relative luminance is 0.0196 and perceived brightness is 18%, so white text on it reaches 15.08:1.

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

White. It scores 15.08:1 against #3f0f4f, versus 1.39:1 for black — AAA at any size.

What is the complementary color of #3f0f4f?

#1F4F0F sits directly opposite on the wheel. Softer options are the split-complements #3F4F0F and #0F4F1F, which give the same contrast with far less vibration.

What colors go well with #3f0f4f?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #874B9B for secondary text, #2F510D as an accent and #55146B for hover and pressed states. For a palette, the analogous pair #1F0F4F and #4F0F3F stays calm, while #1F4F0F is the loudest partner.

What is #3f0f4f in CMYK for printing?

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

Is #3f0f4f 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 #4F0F47; nudged cooler, #270E50.

Work with #3f0f4f in the Color Lab