Skip to content

#4f3f5f

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

RGB
79, 63, 95
HSL
270°, 20%, 31%
CMYK
17, 34, 0, 63
Luminance
0.0604

At a glance

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

Hex
#4f3f5f
Hue
270°
violet
Saturation
20%
soft
Lightness
31%
dark
Brightness
37%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0604
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Soft
Best ink
White
9.51:1
Closest name
Dark Slate Blue
ΔE2000 12.2
Where it sits
Hue270° of 360°
Saturation20%
Lightness31%
Temperature
Warm ← → Cool60% 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#4f3f5f
RGBrgb(79, 63, 95)
HSLhsl(270, 20%, 31%)
CMYKcmyk(17%, 34%, 0%, 63%)
LABlab(29.5 14.0 -16.4)
LCHlch(29.5 21.6 310.6)
OKLCHoklch(0.398 0.056 306.9)
Decimal5193567
Display P3color(display-p3 0.310 0.247 0.373)

Copy-ready code

/* CSS */
color: #4f3f5f;
background-color: #4f3f5f;
/* Tailwind (arbitrary) */
class="text-[#4f3f5f] bg-[#4f3f5f]"
/* SCSS */
$brand: #4f3f5f;
/* SwiftUI */
Color(red: 0.310, green: 0.247, blue: 0.373)
/* Android */
Color.parseColor("#4f3f5f")
/* Flutter */
Color(0xFF4F3F5F)
/* Python / OpenCV (BGR) */
(95, 63, 79)

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

Accessibility — WCAG contrast

Aa
#4f3f5f on white: 9.51:1
AA ✓ pass · AA-large · AAA
Aa
#4f3f5f on black: 2.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #394560
deuteranopia · #3C465E
tritanopia · #4D444B

Color scale — 50 to 950

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

#F7F6F9
#F0EDF2
#DED8E4
#C7BCD2
#AB9ABC
#8F78A6
#7A6293
#66517B
#4f3f5f
#3D3249
#261F2D
Base = 800Lightest = 50 · #F7F6F9Darkest = 950 · #261F2D
:root {
  --brand-50: #F7F6F9;
  --brand-100: #F0EDF2;
  --brand-200: #DED8E4;
  --brand-300: #C7BCD2;
  --brand-400: #AB9ABC;
  --brand-500: #8F78A6;
  --brand-600: #7A6293;
  --brand-700: #66517B;
  --brand-800: #4f3f5f;
  --brand-900: #3D3249;
  --brand-950: #261F2D;
  --brand: #4f3f5f;
  --brand-ink: #ffffff;
}

Colors that work with #4f3f5f

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#F7F6F9
Tinted page background
Border#D6CEDE
Hairlines and dividers
Muted text#735B8A
Captions on the surface
Accent#59623C
Second voice, not a rival
Dark variant#40334D
Hover, pressed, headers
Light variant#F2F0F5
Selected rows, tints
Dark surface#1C1622
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 #4f3f5f

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#4F5F3F
Analogous left#3F3F5F
Analogous right#5F3F5F
Split-complement 1#5F5F3F
Split-complement 2#3F5F3F
Triadic 1#5F4F3F
Triadic 2#3F5F4F
Tetradic#5F3F3F

RGB percentages

Red31.0%
Green24.7%
Blue37.3%

CMYK percentages

Cyan16.8%
Magenta33.7%
Yellow0.0%
Key (black)62.7%

Color previews

#4f3f5f text on a black background

contrast 2.21:1

Card sample

#4f3f5f text on a white background

contrast 9.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4f3f5f;
Background color
Panel with #4f3f5f background
background-color: #4f3f5f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4f3f5f;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #4f3f5f

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.

#4f3f5f 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.

#4f3f5f, answered

What color is #4f3f5f?

#4f3f5f is a dark soft violet, closest to Dark Slate Blue (ΔE2000 12.2). It sits at 270° on the hue wheel with 20% saturation and 31% lightness, which reads as cool.

What is the RGB value of #4f3f5f?

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

Is #4f3f5f a light or a dark color?

It is a dark color. Relative luminance is 0.0604 and perceived brightness is 28%, so white text on it reaches 9.51:1.

Should I use black or white text on #4f3f5f?

White. It scores 9.51:1 against #4f3f5f, versus 2.21:1 for black — AAA at any size.

What is the complementary color of #4f3f5f?

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

What colors go well with #4f3f5f?

For interface work: #F7F6F9 as the surface, #D6CEDE for borders, #735B8A for secondary text, #59623C as an accent and #40334D for hover and pressed states. For a palette, the analogous pair #3F3F5F and #5F3F5F stays calm, while #4F5F3F is the loudest partner.

What is #4f3f5f in CMYK for printing?

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

Is #4f3f5f warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5B3F5F; nudged cooler, #423D61.

Work with #4f3f5f in the Color Lab