#42383B Color Information

Hex color code: #42383B

#42383B is a dramatic magenta color. In RGB it is (66, 56, 59), and in HSL it is (342°, 8%, 24%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#42383B
RGB
66, 56, 59
HSL
342°, 8%, 24%
CMYK
0%, 15%, 11%, 74%

Shades

CSS Usage
color: #42383B;
background-color: #42383B;
border-color: #42383B;
box-shadow: 0 0 10px #42383B;
border: 2px solid #42383B;
Tailwind Usage
bg-[#42383B]
text-[#42383B]
border-[#42383B]
shadow-[0_0_10px_42383B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #42383B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #42383B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #42383B; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #42383B; background-color: #42383B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #42383B20; border-left: 4px solid #42383B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #42383B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #42383B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

66, 56, 59

Red: 66 / Green: 56 / Blue: 59

HSL

342°, 8%, 24%

Hue: 342° / Saturation: 8% / Lightness: 24%

CMYK

0%, 15%, 11%, 74%

Cyan: 0% / Magenta: 15% / Yellow: 11% / Key: 74%

What color is #42383B?

#42383B is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #42383B to RGB:

rgb(66, 56, 59)HEX to RGB Converter →

HEX to HSL

Convert #42383B to HSL:

hsl(342, 8%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #42383B to CMYK:

cmyk(0%, 15%, 11%, 74%)Color Converter →

Color Meaning and Usage

#42383B is a rich magenta color with RGB values of 66, 56, 59 and HSL of 342°, 8%, 24%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #42383B is #38423F, creating high-contrast pairings. For softer combinations, try analogous colors like #423840.

Use #42383B in CSS: color: #42383B or background-color: #42383B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #42383B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 1.86:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #42383B?

#42383B is a rich magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #42383B?

#42383B in RGB is (66, 56, 59) - 66 red, 56 green, and 59 blue.

How to use #42383B in CSS?

Use #42383B directly in your CSS properties like color or background-color.

What colors go well with #42383B?

#38423F (complementary), #423840 (analogous), and #191516 (lighter shade) work well with #42383B.