#38246B Color Information

Hex color code: #38246B

#38246B is a calming purple color. In RGB it is (56, 36, 107), and in HSL it is (257°, 50%, 28%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Blue
HEX
#38246B
RGB
56, 36, 107
HSL
257°, 50%, 28%
CMYK
48%, 66%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #38246B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

56, 36, 107

Red: 56 / Green: 36 / Blue: 107

HSL

257°, 50%, 28%

Hue: 257° / Saturation: 50% / Lightness: 28%

CMYK

48%, 66%, 0%, 58%

Cyan: 48% / Magenta: 66% / Yellow: 0% / Key: 58%

What color is #38246B?

#38246B is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #38246B to RGB:

rgb(56, 36, 107)HEX to RGB Converter →

HEX to HSL

Convert #38246B to HSL:

hsl(257, 50%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #38246B to CMYK:

cmyk(48%, 66%, 0%, 58%)Color Converter →

Color Meaning and Usage

#38246B is a cool purple color with RGB values of 56, 36, 107 and HSL of 257°, 50%, 28%. This blue-purple hue evokes creativity and luxury, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #38246B is #576B24, creating high-contrast pairings. For softer combinations, try analogous colors like #24336B.

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

Contrast with #38246B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #38246B?

#38246B is a cool purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #38246B?

#38246B in RGB is (56, 36, 107) - 56 red, 36 green, and 107 blue.

How to use #38246B in CSS?

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

What colors go well with #38246B?

#576B24 (complementary), #24336B (analogous), and #1A1132 (lighter shade) work well with #38246B.