#362158 color
The hex color #362158 is a dark, desaturated violet.
In the RGB color model it is made of 21.2% red, 12.9% green and 34.5% blue (54, 33, 88).
Its hue angle is 263°, with 45% saturation and 24% lightness. For print, the CMYK equivalent is 39% cyan, 63% magenta, 0% yellow and 65% black.
The closest named color is Stormy Night (#372354), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.86:1).
#362158 color codes
| HEX | #362158 | |
|---|---|---|
| RGB | rgb(54, 33, 88) | |
| RGB percent | rgb(21.2%, 12.9%, 34.5%) | |
| HSL | hsl(263, 45%, 24%) | |
| HSV / HSB | hsv(263, 63%, 35%) | |
| CMYK | cmyk(39%, 63%, 0%, 65%) | |
| CIE LAB | lab(18.26, 23.68, -29.72) | |
| CIE LCH | lch(18.26, 38, 308.55) | |
| CIE XYZ | xyz(3.826, 2.577, 9.526) | |
| Decimal | 3547480 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #362158, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #362158 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.86:1 | Pass | Pass | Pass |
| #362158 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.86:1 | Pass | Pass | Pass |
| Sample text | 1.52:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #362158 looks to people with the most common types of color vision deficiency.
#052d5aProtanopia
no red cones#0e2c57Deuteranopia
no green cones#2e2c39Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #362158; }
.text { color: #362158; }
.border { border: 2px solid #362158; }
.transparent { background-color: rgb(54 33 88 / 50%); }
.gradient { background: linear-gradient(to right, #362158, #522158); }
Similar colors
#372354Stormy Night#341758Fabric of Space#332266Dark Dreams#442266Fading Horizon#2e2364Indie Go#231c4dSilent Orbit#2a2551Pāua#431c53Plunged Into Darkness
Closest common color name: Midnight Blue.
Questions
- What color is #362158?
- #362158 is a dark, desaturated violet, closest to the named color Stormy Night. It belongs to the purple family of colors.
- What is the RGB value of #362158?
- The RGB value is 54, 33, 88: 54 red, 33 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #362158?
- The complementary color is #435821, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #362158?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.86:1. WCAG asks for at least 4.5:1 for normal text.