#281C3F Color Information
Hex color code: #281C3F
#281C3F is a deep purple color. In RGB it is (40, 28, 63), and in HSL it is (261°, 38%, 18%). It is commonly used in modern UI design.
Shades
color: #281C3F; background-color: #281C3F; border-color: #281C3F; box-shadow: 0 0 10px #281C3F; border: 2px solid #281C3F;
bg-[#281C3F] text-[#281C3F] border-[#281C3F] shadow-[0_0_10px_281C3F]
Generate Gradient
background: linear-gradient(90deg, #281C3F, #FF5733);
Preview in UI
Button
Badge
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.
Alert / Toast
Link / Accent
This is a paragraph with a link using your color. The color can be applied to interactive elements.
Related Colors
Complementary
Analogous
Triadic
Split Complementary
Tetradic
Monochromatic
Popular Colors
Common HEX Colors
Color Theory
Relationships based on the position of #281C3F in the color wheel.
RGB, HSL and CMYK Values
RGB
40, 28, 63
Red: 40 / Green: 28 / Blue: 63
HSL
261°, 38%, 18%
Hue: 261° / Saturation: 38% / Lightness: 18%
CMYK
37%, 56%, 0%, 75%
Cyan: 37% / Magenta: 56% / Yellow: 0% / Key: 75%
What color is #281C3F?
#281C3F is a very dark shade associated with sophistication and elegance.
Color Shades
Complementary Colors
Color Palette
Color Meaning and Usage
#281C3F is a intense purple color with RGB values of 40, 28, 63 and HSL of 261°, 38%, 18%. This very dark shade evokes sophistication and elegance, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.
The complementary color of #281C3F is #333F1C, creating high-contrast pairings. For softer combinations, try analogous colors like #1C223F.
Use #281C3F in CSS: color: #281C3F or background-color: #281C3F. Create palettes with Color Palette Generator or check contrast with Contrast Checker.
Contrast with #281C3F
Sample text on this color - The quick brown fox jumps over the lazy dog.
Need more control? Contrast Checker →
Frequently Asked Questions
What color is #281C3F?
#281C3F is a intense purple color - a very dark shade that evokes sophistication and elegance.
What is the RGB value of #281C3F?
#281C3F in RGB is (40, 28, 63) - 40 red, 28 green, and 63 blue.
How to use #281C3F in CSS?
Use #281C3F directly in your CSS properties like color or background-color.