Skip to content

#231d2c

a deep, soft violet · cool · closest name: Black

RGB
35, 29, 44
HSL
264°, 21%, 14%
CMYK
21, 34, 0, 83
Luminance
0.0142

At a glance

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

Hex
#231d2c
Hue
264°
violet
Saturation
21%
soft
Lightness
14%
deep
Brightness
17%
HSV value
Perceived
13%
weighted brightness
Luminance
0.0142
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Soft
Best ink
White
16.36:1
Closest name
Black
ΔE2000 12.7
Where it sits
Hue264° of 360°
Saturation21%
Lightness14%
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#231d2c
RGBrgb(35, 29, 44)
HSLhsl(264, 21%, 14%)
CMYKcmyk(21%, 34%, 0%, 83%)
LABlab(12.1 6.8 -9.0)
LCHlch(12.1 11.3 307.1)
OKLCHoklch(0.245 0.029 302.6)
Decimal2301228
Display P3color(display-p3 0.137 0.114 0.173)

Copy-ready code

/* CSS */
color: #231d2c;
background-color: #231d2c;
/* Tailwind (arbitrary) */
class="text-[#231d2c] bg-[#231d2c]"
/* SCSS */
$brand: #231d2c;
/* SwiftUI */
Color(red: 0.137, green: 0.114, blue: 0.173)
/* Android */
Color.parseColor("#231d2c")
/* Flutter */
Color(0xFF231D2C)
/* Python / OpenCV (BGR) */
(44, 29, 35)

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

Accessibility — WCAG contrast

Aa
#231d2c on white: 16.36:1
AA ✓ pass · AA-large · AAA
Aa
#231d2c on black: 1.28:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #1A202D
deuteranopia · #1B202C
tritanopia · #221F22

Color scale — 50 to 950

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

#F7F6F9
#EFEDF2
#DDD8E4
#C5BBD2
#A79ABC
#8A78A6
#756193
#62517B
#4E4162
#3B3249
#231d2c
Base = 950Lightest = 50 · #F7F6F9Darkest = 950 · #231d2c
:root {
  --brand-50: #F7F6F9;
  --brand-100: #EFEDF2;
  --brand-200: #DDD8E4;
  --brand-300: #C5BBD2;
  --brand-400: #A79ABC;
  --brand-500: #8A78A6;
  --brand-600: #756193;
  --brand-700: #62517B;
  --brand-800: #4E4162;
  --brand-900: #3B3249;
  --brand-950: #231d2c;
  --brand: #231d2c;
  --brand-ink: #ffffff;
}

Colors that work with #231d2c

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#D5CEDF
Hairlines and dividers
Muted text#6E5B8A
Captions on the surface
Accent#2B2D1C
Second voice, not a rival
Dark variant#3D334D
Hover, pressed, headers
Light variant#F2F0F5
Selected rows, tints
Dark surface#1B1622
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 #231d2c

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#262C1D
Analogous left#1D1E2C
Analogous right#2A1D2C
Split-complement 1#2C2A1D
Split-complement 2#1E2C1D
Triadic 1#2C231D
Triadic 2#1D2C23
Tetradic#2C1D1E

RGB percentages

Red13.7%
Green11.4%
Blue17.3%

CMYK percentages

Cyan20.5%
Magenta34.1%
Yellow0.0%
Key (black)82.7%

Color previews

#231d2c text on a black background

contrast 1.28:1

Card sample

#231d2c text on a white background

contrast 16.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #231d2c;
Background color
Panel with #231d2c background
background-color: #231d2c;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(35, 29, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(35, 29, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #231d2c;
background: linear-gradient(135deg, #231d2c, #2C1D2B);

Monochromatic scale

Palettes built from #231d2c

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.

#231d2c 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.

#231d2c, answered

What color is #231d2c?

#231d2c is a deep soft violet, closest to Black (ΔE2000 12.7). It sits at 264° on the hue wheel with 21% saturation and 14% lightness, which reads as cool.

What is the RGB value of #231d2c?

rgb(35, 29, 44) — 35 red, 29 green and 44 blue out of 255, or 13.7% / 11.4% / 17.3% by channel.

Is #231d2c a light or a dark color?

It is a dark color. Relative luminance is 0.0142 and perceived brightness is 13%, so white text on it reaches 16.36:1.

Should I use black or white text on #231d2c?

White. It scores 16.36:1 against #231d2c, versus 1.28:1 for black — AAA at any size.

What is the complementary color of #231d2c?

#262C1D sits directly opposite on the wheel. Softer options are the split-complements #2C2A1D and #1E2C1D, which give the same contrast with far less vibration.

What colors go well with #231d2c?

For interface work: #F7F6F9 as the surface, #D5CEDF for borders, #6E5B8A for secondary text, #2B2D1C as an accent and #3D334D for hover and pressed states. For a palette, the analogous pair #1D1E2C and #2A1D2C stays calm, while #262C1D is the loudest partner.

What is #231d2c in CMYK for printing?

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

Is #231d2c 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 #281D2C; nudged cooler, #1D1C2D.

Work with #231d2c in the Color Lab