#3D287B Color Information

Hex color code: #3D287B

#3D287B is a tranquil purple color. In RGB it is (61, 40, 123), and in HSL it is (255°, 51%, 32%). It is widely used in graphic design.

Try:
Color NameDark Slate Blue
HEX
#3D287B
RGB
61, 40, 123
HSL
255°, 51%, 32%
CMYK
50%, 67%, 0%, 52%

Shades

CSS Usage
color: #3D287B;
background-color: #3D287B;
border-color: #3D287B;
box-shadow: 0 0 10px #3D287B;
border: 2px solid #3D287B;
Tailwind Usage
bg-[#3D287B]
text-[#3D287B]
border-[#3D287B]
shadow-[0_0_10px_3D287B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #3D287B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #3D287B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #3D287B; 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 #3D287B; background-color: #3D287B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #3D287B20; border-left: 4px solid #3D287B; }

Link / Accent

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

a { color: #3D287B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #3D287B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

61, 40, 123

Red: 61 / Green: 40 / Blue: 123

HSL

255°, 51%, 32%

Hue: 255° / Saturation: 51% / Lightness: 32%

CMYK

50%, 67%, 0%, 52%

Cyan: 50% / Magenta: 67% / Yellow: 0% / Key: 52%

What color is #3D287B?

#3D287B is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #3D287B to RGB:

rgb(61, 40, 123)HEX to RGB Converter →

HEX to HSL

Convert #3D287B to HSL:

hsl(255, 51%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #3D287B to CMYK:

cmyk(50%, 67%, 0%, 52%)Color Converter →

Color Meaning and Usage

A tranquil purple tone, #3D287B has RGB (61, 40, 123) and HSL (255°, 51%, 32%). Known for evoking creativity and luxury, this blue-purple hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #3D287B is #667B28, creating high-contrast pairings. For softer combinations, try analogous colors like #283D7B.

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

Contrast with #3D287B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #3D287B?

#3D287B is a tranquil purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #3D287B?

#3D287B in RGB is (61, 40, 123) - 61 red, 40 green, and 123 blue.

How to use #3D287B in CSS?

Use #3D287B directly in your CSS properties like color or background-color.

What colors go well with #3D287B?

#667B28 (complementary), #283D7B (analogous), and #201541 (lighter shade) work well with #3D287B.