#512a8b Color Information
In a RGB color space, hex #512a8b is composed of 31.8% red, 16.5% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 41.7% cyan, 69.8% magenta, 0% yellow and 45.5% black. It has a hue angle of 264.1 degrees, a saturation of 53.6% and a lightness of 35.5%. #512a8b color hex could be obtained by blending #a254ff with #000017. Closest websafe color is: #663399.
-
- R 32
- G 16
- B 55
-
- C 42
- M 70
- Y 0
- K 45
● #512a8b color description : Dark moderate violet.
#512a8b Color Conversion
The hexadecimal color #512a8b has RGB values of R:81, G:42, B:139 and CMYK values of C:0.42, M:0.7, Y:0, K:0.45. Its decimal value is 5319307.
| Hex triplet | 512a8b | #512a8b |
|---|---|---|
| RGB Decimal | 81, 42, 139 | rgb(81,42,139) |
| RGB Percent | 31.8, 16.5, 54.5 | rgb(31.8%,16.5%,54.5%) |
| CMYK | 42, 70, 0, 45 | |
| HSL | 264.1°, 53.6, 35.5 | hsl(264.1,53.6%,35.5%) |
| HSV (or HSB) | 264.1°, 69.8, 54.5 | |
| Web Safe | 663399 | #663399 |
| CIE-LAB | 27.489, 39.434, -47.445 |
|---|---|
| XYZ | 8.881, 5.269, 24.974 |
| xyY | 0.227, 0.135, 5.269 |
| CIE-LCH | 27.489, 61.693, 309.732 |
| CIE-LUV | 27.489, 7.255, -63.291 |
| Hunter-Lab | 22.955, 28.886, -48.436 |
| Binary | 01010001, 00101010, 10001011 |
Color Schemes with #512a8b
Alternatives to #512a8b
Below, you can see some colors close to #512a8b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.
#512a8b Preview
This text has a font color of #512a8b.
<span style="color:#512a8b;">Text here</span>
This paragraph has a background color of #512a8b.
<p style="background-color:#512a8b;">Content here</p>
This element has a border color of #512a8b.
<div style="border:1px solid #512a8b;">Content here</div>
.text {color:#512a8b;}
.background {background-color:#512a8b;}
.border {border:1px solid #512a8b;}
Shades and Tints of #512a8b
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, #020103 is the darkest color, while #f7f3fb is the lightest one.
-
#020103
#020103rgb(2,1,3) -
#0b0612
#0b0612rgb(11,6,18) -
#140a22
#140a22rgb(20,10,34) -
#1c0f31
#1c0f31rgb(28,15,49) -
#251340
#251340rgb(37,19,64) -
#2e184f
#2e184frgb(46,24,79) -
#371c5e
#371c5ergb(55,28,94) -
#3f216d
#3f216drgb(63,33,109) -
#48257c
#48257crgb(72,37,124) -
#512a8b
#512a8brgb(81,42,139) -
#5a2f9a
#5a2f9argb(90,47,154) -
#6333a9
#6333a9rgb(99,51,169) -
#6b38b8
#6b38b8rgb(107,56,184)
-
#753fc5
#753fc5rgb(117,63,197) -
#7f4ec9
#7f4ec9rgb(127,78,201) -
#8a5dce
#8a5dcergb(138,93,206) -
#956cd3
#956cd3rgb(149,108,211) -
#a07bd7
#a07bd7rgb(160,123,215) -
#ab8adc
#ab8adcrgb(171,138,220) -
#b699e0
#b699e0rgb(182,153,224) -
#c0a8e5
#c0a8e5rgb(192,168,229) -
#cbb7e9
#cbb7e9rgb(203,183,233) -
#d6c6ee
#d6c6eergb(214,198,238) -
#e1d5f2
#e1d5f2rgb(225,213,242) -
#ece4f7
#ece4f7rgb(236,228,247) -
#f7f3fb
#f7f3fbrgb(247,243,251)
Tones of #512a8b
A tone is produced by adding gray to any pure hue. In this case, #595461 is the less saturated color, while #4900b5 is the most saturated one.
-
#595461
#595461rgb(89,84,97) -
#584d68
#584d68rgb(88,77,104) -
#56466f
#56466frgb(86,70,111) -
#553f76
#553f76rgb(85,63,118) -
#54387d
#54387drgb(84,56,125) -
#523184
#523184rgb(82,49,132) -
#512a8b
#512a8brgb(81,42,139) -
#502392
#502392rgb(80,35,146) -
#4e1c99
#4e1c99rgb(78,28,153) -
#4d15a0
#4d15a0rgb(77,21,160) -
#4c0ea7
#4c0ea7rgb(76,14,167) -
#4a07ae
#4a07aergb(74,7,174) -
#4900b5
#4900b5rgb(73,0,181)
Color Blindness Simulator
Below, you can see how #512a8b 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.
