#38303B Color Information

Hex color code: #38303B

The hex color #38303B is a dark purple with RGB values of (56, 48, 59) and HSL of (284°, 10%, 21%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#38303B
RGB
56, 48, 59
HSL
284°, 10%, 21%
CMYK
5%, 19%, 0%, 77%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #38303B; 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 #38303B; background-color: #38303B15; }

Alert / Toast

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

Link / Accent

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

a { color: #38303B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

56, 48, 59

Red: 56 / Green: 48 / Blue: 59

HSL

284°, 10%, 21%

Hue: 284° / Saturation: 10% / Lightness: 21%

CMYK

5%, 19%, 0%, 77%

Cyan: 5% / Magenta: 19% / Yellow: 0% / Key: 77%

What color is #38303B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #38303B to RGB:

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

HEX to HSL

Convert #38303B to HSL:

hsl(284, 10%, 21%)RGB to HSL Converter →

HEX to CMYK

Convert #38303B to CMYK:

cmyk(5%, 19%, 0%, 77%)Color Converter →

Color Meaning and Usage

A dark purple tone, #38303B has RGB (56, 48, 59) and HSL (284°, 10%, 21%). Known for evoking balance and subtlety, this desaturated neutral is a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #38303B is #333B30, creating high-contrast pairings. For softer combinations, try analogous colors like #33303B.

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

Contrast with #38303B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #38303B?

#38303B is a dark purple color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #38303B?

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

How to use #38303B in CSS?

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

What colors go well with #38303B?

#333B30 (complementary), #33303B (analogous), and #100E11 (lighter shade) work well with #38303B.