#38158b Color Information

In a RGB color space, hex #38158b is composed of 22% red, 8.2% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 59.7% cyan, 84.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 257.8 degrees, a saturation of 73.8% and a lightness of 31.4%. #38158b color hex could be obtained by blending #702aff with #000017. Closest websafe color is: #330099.

    • R 22
    • G 8
    • B 55
    RGB color chart
    • C 60
    • M 85
    • Y 0
    • K 45
    CMYK color chart

#38158b color description : Dark violet.

#38158b Color Conversion

The hexadecimal color #38158b has RGB values of R:56, G:21, B:139 and CMYK values of C:0.6, M:0.85, Y:0, K:0.45. Its decimal value is 3675531.

Hex triplet 38158b #38158b
RGB Decimal 56, 21, 139 rgb(56,21,139)
RGB Percent 22, 8.2, 54.5 rgb(22%,8.2%,54.5%)
CMYK 60, 85, 0, 45
HSL 257.8°, 73.8, 31.4 hsl(257.8,73.8%,31.4%)
HSV (or HSB) 257.8°, 84.9, 54.5
Web Safe 330099 #330099
CIE-LAB 20.984, 45.665, -58.218
XYZ 6.558, 3.241, 24.705
xyY 0.19, 0.094, 3.241
CIE-LCH 20.984, 73.991, 308.11
CIE-LUV 20.984, 1.383, -66.214
Hunter-Lab 18.003, 33.523, -68.76
Binary 00111000, 00010101, 10001011

Color Schemes with #38158b

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #38158b

Below, you can see some colors close to #38158b. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#38158b Preview

Text with hexadecimal color #38158b

This text has a font color of #38158b.

<span style="color:#38158b;">Text here</span>
#38158b background color

This paragraph has a background color of #38158b.

<p style="background-color:#38158b;">Content here</p>
#38158b border color

This element has a border color of #38158b.

<div style="border:1px solid #38158b;">Content here</div>
CSS codes
.text {color:#38158b;}
.background {background-color:#38158b;}
.border {border:1px solid #38158b;}

Shades and Tints of #38158b

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, #010003 is the darkest color, while #f4f1fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #38158b

A tone is produced by adding gray to any pure hue. In this case, #4f4c54 is the less saturated color, while #30039d is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #38158b 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
  • #2d2d2d Achromatopsia 0.005% of the population
  • #2f2840 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b73 Protanopia 1% of men
  • #003e64 Deuteranopia 1% of men
  • #144247 Tritanopia 0.001% of the population
Trichromacy
  • #142d7b Protanomaly 1% of men, 0.01% of women
  • #142f72 Deuteranomaly 6% of men, 0.4% of women
  • #213160 Tritanomaly 0.01% of the population