#30038E color
The hex color #30038E is a dark, vivid violet.
In the RGB color model it is made of 18.8% red, 1.2% green and 55.7% blue (48, 3, 142).
Its hue angle is 259°, with 96% saturation and 28% lightness. For print, the CMYK equivalent is 66% cyan, 98% magenta, 0% yellow and 44% black.
The closest named color is Dramatic Blue (#240093), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.73:1).
#30038E color codes
| HEX | #30038E | |
|---|---|---|
| RGB | rgb(48, 3, 142) | |
| RGB percent | rgb(18.8%, 1.2%, 55.7%) | |
| HSL | hsl(259, 96%, 28%) | |
| HSV / HSB | hsv(259, 98%, 56%) | |
| CMYK | cmyk(66%, 98%, 0%, 44%) | |
| CIE LAB | lab(18.57, 51.55, -64.12) | |
| CIE LCH | lch(18.57, 82.27, 308.8) | |
| CIE XYZ | xyz(6.132, 2.646, 25.774) | |
| Decimal | 3146638 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #30038E, 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 #30038E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.73:1 | Pass | Pass | Pass |
| #30038E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.73:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #30038E looks to people with the most common types of color vision deficiency.
#003191Protanopia
no red cones#00298cDeuteranopia
no green cones#003751Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #30038e; }
.text { color: #30038e; }
.border { border: 2px solid #30038e; }
.transparent { background-color: rgb(48 3 142 / 50%); }
.gradient { background: linear-gradient(to right, #30038e, #75038e); }
Similar colors
#240093Dramatic Blue#220088Orbital Kingdom#221188Nightly Expedition#120a8fUltramarine#440099Space Battle Blue#301885Indiglow#000099Everlasting Night#00008bDark Blue
Questions
- What color is #30038E?
- #30038E is a dark, vivid violet, closest to the named color Dramatic Blue. It belongs to the purple family of colors.
- What is the RGB value of #30038E?
- The RGB value is 48, 3, 142: 48 red, 3 green and 142 blue on a 0 to 255 scale.
- What is the complementary color of #30038E?
- The complementary color is #618E03, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #30038E?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.73:1. WCAG asks for at least 4.5:1 for normal text.