#331238 hex color
In a RGB color space, hex #331238 is composed of 20% red, 7.1% green and 22% blue. Whereas in a CMYK color space, it is composed of 8.9% cyan, 67.9% magenta, 0% yellow and 78% black. It has a hue angle of 292.1 degrees, a saturation of 51.4% and a lightness of 14.5%. #331238 color hex could be obtained by blending #662470 with #000000. Closest websafe color is: #330033.
-
- R 20
- G 7
- B 22
RGB color chart
-
- C 9
- M 68
- Y 0
- K 78
CMYK color chart
● #331238 color description : Very dark magenta.
The hexadecimal color #331238 has RGB values of R:51, G:18, B:56 and CMYK values of C:0.09, M:0.68, Y:0, K:0.78. Its decimal value is 3347000.
Hex triplet | 331238 | #331238 |
---|---|---|
RGB Decimal | 51, 18, 56 | rgb(51,18,56) |
RGB Percent | 20, 7.1, 22 | rgb(20%,7.1%,22%) |
CMYK | 9, 68, 0, 78 | |
HSL | 292.1°, 51.4, 14.5 | hsl(292.1,51.4%,14.5%) |
HSV (or HSB) | 292.1°, 67.9, 22 | |
Web Safe | 330033 | #330033 |
CIE-LAB | 12.104, 23.386, -17.443 |
---|---|
XYZ | 2.295, 1.422, 3.895 |
xyY | 0.302, 0.187, 1.422 |
CIE-LCH | 12.104, 29.175, 323.282 |
CIE-LUV | 12.104, 9.783, -16.66 |
Hunter-Lab | 11.925, 13.488, -11.017 |
Binary | 00110011, 00010010, 00111000 |
Analogous Color
Split Complementary Color
Below, you can see some colors close to #331238. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
Text with hexadecimal color #331238
This text has a font color of #331238.
<span style="color:#331238;">Text here</span>
#331238 background color
This paragraph has a background color of #331238.
<p style="background-color:#331238;">Content here</p>
#331238 border color
This element has a border color of #331238.
<div style="border:1px solid #331238;">Content here</div>
CSS codes
.text {color:#331238;}
.background {background-color:#331238;}
.border {border:1px solid #331238;}
A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #0a040b is the darkest color, while #fefcfe is the lightest one.
-
#0a040b
#0a040b
rgb(10,4,11)
-
#18081a
#18081a
rgb(24,8,26)
-
#250d29
#250d29
rgb(37,13,41)
-
#331238
#331238
rgb(51,18,56)
-
#411747
#411747
rgb(65,23,71)
-
#4e1c56
#4e1c56
rgb(78,28,86)
-
#5c2065
#5c2065
rgb(92,32,101)
-
#692573
#692573
rgb(105,37,115)
-
#772a82
#772a82
rgb(119,42,130)
-
#842f91
#842f91
rgb(132,47,145)
-
#9233a0
#9233a0
rgb(146,51,160)
-
#9f38af
#9f38af
rgb(159,56,175)
-
#ad3dbe
#ad3dbe
rgb(173,61,190)
Shade Color Variation
-
#b449c5
#b449c5
rgb(180,73,197)
-
#bb58c9
#bb58c9
rgb(187,88,201)
-
#c167ce
#c167ce
rgb(193,103,206)
-
#c776d3
#c776d3
rgb(199,118,211)
-
#cd85d8
#cd85d8
rgb(205,133,216)
-
#d394dd
#d394dd
rgb(211,148,221)
-
#d9a3e1
#d9a3e1
rgb(217,163,225)
-
#dfb1e6
#dfb1e6
rgb(223,177,230)
-
#e5c0eb
#e5c0eb
rgb(229,192,235)
-
#ebcff0
#ebcff0
rgb(235,207,240)
-
#f1def4
#f1def4
rgb(241,222,244)
-
#f8edf9
#f8edf9
rgb(248,237,249)
-
#fefcfe
#fefcfe
rgb(254,252,254)
Tint Color Variation
A tone is produced by adding gray to any pure hue. In this case, #262327 is the less saturated color, while #400149 is the most saturated one.
-
#262327
#262327
rgb(38,35,39)
-
#29202a
#29202a
rgb(41,32,42)
-
#2b1d2d
#2b1d2d
rgb(43,29,45)
-
#2d1b2f
#2d1b2f
rgb(45,27,47)
-
#2f1832
#2f1832
rgb(47,24,50)
-
#311535
#311535
rgb(49,21,53)
-
#331238
#331238
rgb(51,18,56)
-
#350f3b
#350f3b
rgb(53,15,59)
-
#370c3e
#370c3e
rgb(55,12,62)
-
#390941
#390941
rgb(57,9,65)
-
#3b0743
#3b0743
rgb(59,7,67)
-
#3d0446
#3d0446
rgb(61,4,70)
-
#400149
#400149
rgb(64,1,73)
Tone Color Variation
Below, you can see how #331238 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.
Monochromacy
Dichromacy