#301352 color
The hex color #301352 is a very dark, moderate violet.
In the RGB color model it is made of 18.8% red, 7.5% green and 32.2% blue (48, 19, 82).
Its hue angle is 268°, with 62% saturation and 20% lightness. For print, the CMYK equivalent is 41% cyan, 77% magenta, 0% yellow and 68% black.
The closest named color is Fabric of Space (#341758), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.66:1).
#301352 color codes
| HEX | #301352 | |
|---|---|---|
| RGB | rgb(48, 19, 82) | |
| RGB percent | rgb(18.8%, 7.5%, 32.2%) | |
| HSL | hsl(268, 62%, 20%) | |
| HSV / HSB | hsv(268, 77%, 32%) | |
| CMYK | cmyk(41%, 77%, 0%, 68%) | |
| CIE LAB | lab(13.85, 28.92, -32.84) | |
| CIE LCH | lch(13.85, 43.76, 311.37) | |
| CIE XYZ | xyz(2.974, 1.703, 8.153) | |
| Decimal | 3150674 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #301352, 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 #301352 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.34:1 | Fail | Fail | Fail |
| Sample text | 15.66:1 | Pass | Pass | Pass |
| #301352 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.66:1 | Pass | Pass | Pass |
| Sample text | 1.34: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 #301352 looks to people with the most common types of color vision deficiency.
#002354Protanopia
no red cones#002351Deuteranopia
no green cones#282231Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #301352; }
.text { color: #301352; }
.border { border: 2px solid #301352; }
.transparent { background-color: rgb(48 19 82 / 50%); }
.gradient { background: linear-gradient(to right, #301352, #501352); }
Similar colors
#341758Fabric of Space#37115cWicked Purple#2d135fVoldemort#330055Hollow Knight#2f1064Infinite Inkwell#340059Cotinga Purple#220044Your Darkness#372354Stormy Night
Closest common color name: Midnight Blue.
Questions
- What color is #301352?
- #301352 is a very dark, moderate violet, closest to the named color Fabric of Space. It belongs to the purple family of colors.
- What is the RGB value of #301352?
- The RGB value is 48, 19, 82: 48 red, 19 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #301352?
- The complementary color is #355213, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #301352?
- White text. Black text has a contrast ratio of 1.34:1 and white text 15.66:1. WCAG asks for at least 4.5:1 for normal text.