#300C58 color
The hex color #300C58 is a very dark, moderate violet.
In the RGB color model it is made of 18.8% red, 4.7% green and 34.5% blue (48, 12, 88).
Its hue angle is 268°, with 76% saturation and 20% lightness. For print, the CMYK equivalent is 45% cyan, 86% magenta, 0% yellow and 65% black.
The closest named color is Wicked Purple (#37115C), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.92:1).
#300C58 color codes
| HEX | #300C58 | |
|---|---|---|
| RGB | rgb(48, 12, 88) | |
| RGB percent | rgb(18.8%, 4.7%, 34.5%) | |
| HSL | hsl(268, 76%, 20%) | |
| HSV / HSB | hsv(268, 86%, 35%) | |
| CMYK | cmyk(45%, 86%, 0%, 65%) | |
| CIE LAB | lab(13.2, 34.06, -37.96) | |
| CIE LCH | lch(13.2, 51, 311.9) | |
| CIE XYZ | xyz(3.111, 1.596, 9.375) | |
| Decimal | 3148888 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #300C58, 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 #300C58 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.32:1 | Fail | Fail | Fail |
| Sample text | 15.92:1 | Pass | Pass | Pass |
| #300C58 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.92:1 | Pass | Pass | Pass |
| Sample text | 1.32: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 #300C58 looks to people with the most common types of color vision deficiency.
#00225aProtanopia
no red cones#002157Deuteranopia
no green cones#262132Tritanopia
no blue cones#222222Achromatopsia
no color vision
CSS examples
.background { background-color: #300c58; }
.text { color: #300c58; }
.border { border: 2px solid #300c58; }
.transparent { background-color: rgb(48 12 88 / 50%); }
.gradient { background: linear-gradient(to right, #300c58, #560c58); }
Similar colors
#37115cWicked Purple#2d135fVoldemort#340059Cotinga Purple#330055Hollow Knight#2f1064Infinite Inkwell#341758Fabric of Space#220044Your Darkness#220066Blackmail
Closest common color name: Midnight Blue.
Questions
- What color is #300C58?
- #300C58 is a very dark, moderate violet, closest to the named color Wicked Purple. It belongs to the purple family of colors.
- What is the RGB value of #300C58?
- The RGB value is 48, 12, 88: 48 red, 12 green and 88 blue on a 0 to 255 scale.
- What is the complementary color of #300C58?
- The complementary color is #34580C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #300C58?
- White text. Black text has a contrast ratio of 1.32:1 and white text 15.92:1. WCAG asks for at least 4.5:1 for normal text.