#3A335F
A dark, moderate blue closely aligning with Darkslateblue.
About #3A335F
Visually, #3A335F is defined as a moderate blue. It is closely associated with the named CSS color Darkslateblue. In the RGB color space, it consists of 58 red, 51 green, and 95 blue.
Translating this color to physical media requires the CMYK color model. To reproduce this shade on paper, a printer utilizes 39% cyan and 46% magenta inks. The HSL representation is 249.5° hue, 30.1% saturation, and 28.6% lightness.
Ensuring your text is legible against this background is a key part of web design. Because it is a dark color, it is generally recommended to use #FFFFFF text. Always test your color combinations using a contrast checker before publishing.
Color Space Conversions
HEX#3A335F
RGB58, 51, 95
HSL249.5°, 30.1%, 28.6%
CMYK39%, 46%, 0%, 63%
HSV249.5°, 46.3%, 37.3%
LAB24.0, 15.0, -25.2
XYZ5.0, 4.1, 11.4
Decimal3814239
Color Harmonies
Tints, Shades & Tones
Tints (Adding White)
Shades (Adding Black)
WCAG Contrast Accessibility
11.55:1
Text on #FFFFFF
AAA
1.82:1
Text on #000000
FAIL
11.04:1
Text on #F8FAFC
AAA
1.55:1
Text on #0F172A
FAIL
CSS Implementation
.bg-color {
background-color: #3A335F;
}
.text-color {
color: #3A335F;
}
.border-color {
border: 2px solid #3A335F;
}