Skip to content

#2f2c37

a deep, muted violet · neutral · closest name: Black

RGB
47, 44, 55
HSL
256°, 11%, 19%
CMYK
15, 20, 0, 78
Luminance
0.0268

At a glance

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

Hex
#2f2c37
Hue
256°
violet
Saturation
11%
muted
Lightness
19%
deep
Brightness
22%
HSV value
Perceived
18%
weighted brightness
Luminance
0.0268
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Muted
Best ink
White
13.67:1
Closest name
Black
ΔE2000 13.8
Where it sits
Hue256° of 360°
Saturation11%
Lightness19%
Temperature
Warm ← → Cool58% 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#2f2c37
RGBrgb(47, 44, 55)
HSLhsl(256, 11%, 19%)
CMYKcmyk(15%, 20%, 0%, 78%)
LABlab(18.7 4.1 -6.5)
LCHlch(18.7 7.7 301.9)
OKLCHoklch(0.301 0.020 297.7)
Decimal3091511
Display P3color(display-p3 0.184 0.173 0.216)

Copy-ready code

/* CSS */
color: #2f2c37;
background-color: #2f2c37;
/* Tailwind (arbitrary) */
class="text-[#2f2c37] bg-[#2f2c37]"
/* SCSS */
$brand: #2f2c37;
/* SwiftUI */
Color(red: 0.184, green: 0.173, blue: 0.216)
/* Android */
Color.parseColor("#2f2c37")
/* Flutter */
Color(0xFF2F2C37)
/* Python / OpenCV (BGR) */
(55, 44, 47)

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

Accessibility — WCAG contrast

Aa
#2f2c37 on white: 13.67:1
AA ✓ pass · AA-large · AAA
Aa
#2f2c37 on black: 1.54:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2A2E37
deuteranopia · #2A2D37
tritanopia · #2E2E30

Color scale — 50 to 950

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

#F7F7F8
#EFEEF1
#DCDBE1
#C4C1CD
#A7A2B4
#89829B
#746D88
#615B71
#4D495B
#3A3743
#2f2c37
Base = 950Lightest = 50 · #F7F7F8Darkest = 950 · #2f2c37
:root {
  --brand-50: #F7F7F8;
  --brand-100: #EFEEF1;
  --brand-200: #DCDBE1;
  --brand-300: #C4C1CD;
  --brand-400: #A7A2B4;
  --brand-500: #89829B;
  --brand-600: #746D88;
  --brand-700: #615B71;
  --brand-800: #4D495B;
  --brand-900: #3A3743;
  --brand-950: #2f2c37;
  --brand: #2f2c37;
  --brand-ink: #ffffff;
}

Colors that work with #2f2c37

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#F7F7F8
Tinted page background
Border#D4D2DB
Hairlines and dividers
Muted text#6D667F
Captions on the surface
Accent#39392A
Second voice, not a rival
Dark variant#3D3947
Hover, pressed, headers
Light variant#F2F1F4
Selected rows, tints
Dark surface#1B191F
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 #2f2c37

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

Works well for
  • Body text and links on white
  • Borders, dividers and quiet backgrounds
  • Long-form reading 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#34372C
Analogous left#2C2E37
Analogous right#342C37
Split-complement 1#37342C
Split-complement 2#2E372C
Triadic 1#372F2C
Triadic 2#2C372F
Tetradic#372C2E

RGB percentages

Red18.4%
Green17.3%
Blue21.6%

CMYK percentages

Cyan14.5%
Magenta20.0%
Yellow0.0%
Key (black)78.4%

Color previews

#2f2c37 text on a black background

contrast 1.54:1

Card sample

#2f2c37 text on a white background

contrast 13.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2f2c37;
Background color
Panel with #2f2c37 background
background-color: #2f2c37;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 44, 55, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 44, 55, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2f2c37;
background: linear-gradient(135deg, #2f2c37, #362C37);

Monochromatic scale

Palettes built from #2f2c37

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.

#2f2c37 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
BackgroundsBordersBody textDividers
Print note

Converts to four-color process without much drama. Proof it anyway.

#2f2c37, answered

What color is #2f2c37?

#2f2c37 is a deep muted violet, closest to Black (ΔE2000 13.8). It sits at 256° on the hue wheel with 11% saturation and 19% lightness, which reads as neutral.

What is the RGB value of #2f2c37?

rgb(47, 44, 55) — 47 red, 44 green and 55 blue out of 255, or 18.4% / 17.3% / 21.6% by channel.

Is #2f2c37 a light or a dark color?

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

Should I use black or white text on #2f2c37?

White. It scores 13.67:1 against #2f2c37, versus 1.54:1 for black — AAA at any size.

What is the complementary color of #2f2c37?

#34372C sits directly opposite on the wheel. Softer options are the split-complements #37342C and #2E372C, which give the same contrast with far less vibration.

What colors go well with #2f2c37?

For interface work: #F7F7F8 as the surface, #D4D2DB for borders, #6D667F for secondary text, #39392A as an accent and #3D3947 for hover and pressed states. For a palette, the analogous pair #2C2E37 and #342C37 stays calm, while #34372C is the loudest partner.

What is #2f2c37 in CMYK for printing?

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

Is #2f2c37 warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #332C37; nudged cooler, #2B2C38.

Work with #2f2c37 in the Color Lab