Skip to content

#3f2c4f

a deep, soft violet · cool · closest name: Dark Slate Blue

RGB
63, 44, 79
HSL
273°, 29%, 24%
CMYK
20, 44, 0, 69
Luminance
0.0342

At a glance

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

Hex
#3f2c4f
Hue
273°
violet
Saturation
29%
soft
Lightness
24%
deep
Brightness
31%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0342
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Soft
Best ink
White
12.47:1
Closest name
Dark Slate Blue
ΔE2000 13.1
Where it sits
Hue273° of 360°
Saturation29%
Lightness24%
Temperature
Warm ← → Cool62% 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#3f2c4f
RGBrgb(63, 44, 79)
HSLhsl(273, 29%, 24%)
CMYKcmyk(20%, 44%, 0%, 69%)
LABlab(21.7 16.7 -18.2)
LCHlch(21.7 24.7 312.5)
OKLCHoklch(0.331 0.064 308.2)
Decimal4140111
Display P3color(display-p3 0.247 0.173 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3f2c4f on white: 12.47:1
AA ✓ pass · AA-large · AAA
Aa
#3f2c4f on black: 1.68:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #243350
deuteranopia · #29344E
tritanopia · #3D3139

Color scale — 50 to 950

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

#F7F6F9
#F0ECF3
#DFD6E6
#C8B7D7
#AD93C3
#926FAF
#7D589D
#694983
#543A69
#3f2c4f
#271C30
Base = 900Lightest = 50 · #F7F6F9Darkest = 950 · #271C30
:root {
  --brand-50: #F7F6F9;
  --brand-100: #F0ECF3;
  --brand-200: #DFD6E6;
  --brand-300: #C8B7D7;
  --brand-400: #AD93C3;
  --brand-500: #926FAF;
  --brand-600: #7D589D;
  --brand-700: #694983;
  --brand-800: #543A69;
  --brand-900: #3f2c4f;
  --brand-950: #271C30;
  --brand: #3f2c4f;
  --brand-ink: #ffffff;
}

Colors that work with #3f2c4f

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#F8F5FA
Tinted page background
Border#D7CBE2
Hairlines and dividers
Muted text#765293
Captions on the surface
Accent#465129
Second voice, not a rival
Dark variant#412E52
Hover, pressed, headers
Light variant#F3EFF6
Selected rows, tints
Dark surface#1D1424
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 #3f2c4f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#3C4F2C
Analogous left#2D2C4F
Analogous right#4F2C4D
Split-complement 1#4D4F2C
Split-complement 2#2C4F2D
Triadic 1#4F3F2C
Triadic 2#2C4F3F
Tetradic#4F2D2C

RGB percentages

Red24.7%
Green17.3%
Blue31.0%

CMYK percentages

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

Color previews

#3f2c4f text on a black background

contrast 1.68:1

Card sample

#3f2c4f text on a white background

contrast 12.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3f2c4f

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.

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

#3f2c4f, answered

What color is #3f2c4f?

#3f2c4f is a deep soft violet, closest to Dark Slate Blue (ΔE2000 13.1). It sits at 273° on the hue wheel with 29% saturation and 24% lightness, which reads as cool.

What is the RGB value of #3f2c4f?

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

Is #3f2c4f a light or a dark color?

It is a dark color. Relative luminance is 0.0342 and perceived brightness is 22%, so white text on it reaches 12.47:1.

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

White. It scores 12.47:1 against #3f2c4f, versus 1.68:1 for black — AAA at any size.

What is the complementary color of #3f2c4f?

#3C4F2C sits directly opposite on the wheel. Softer options are the split-complements #4D4F2C and #2C4F2D, which give the same contrast with far less vibration.

What colors go well with #3f2c4f?

For interface work: #F8F5FA as the surface, #D7CBE2 for borders, #765293 for secondary text, #465129 as an accent and #412E52 for hover and pressed states. For a palette, the analogous pair #2D2C4F and #4F2C4D stays calm, while #3C4F2C is the loudest partner.

What is #3f2c4f in CMYK for printing?

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

Is #3f2c4f warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4C2C4F; nudged cooler, #312B50.

Work with #3f2c4f in the Color Lab