#30203E color
The hex color #30203E is a very dark, desaturated violet.
In the RGB color model it is made of 18.8% red, 12.5% green and 24.3% blue (48, 32, 62).
Its hue angle is 272°, with 32% saturation and 18% lightness. For print, the CMYK equivalent is 23% cyan, 48% magenta, 0% yellow and 76% black.
The closest named color is Midnight Velvet (#2A2243), a difference of 3.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 14.98:1).
#30203E color codes
| HEX | #30203E | |
|---|---|---|
| RGB | rgb(48, 32, 62) | |
| RGB percent | rgb(18.8%, 12.5%, 24.3%) | |
| HSL | hsl(272, 32%, 18%) | |
| HSV / HSB | hsv(272, 48%, 24%) | |
| CMYK | cmyk(23%, 48%, 0%, 76%) | |
| CIE LAB | lab(15.54, 14.82, -16.31) | |
| CIE LCH | lch(15.54, 22.04, 312.25) | |
| CIE XYZ | xyz(2.605, 2.009, 4.807) | |
| Decimal | 3153982 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #30203E, 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 #30203E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.4:1 | Fail | Fail | Fail |
| Sample text | 14.98:1 | Pass | Pass | Pass |
| #30203E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.98:1 | Pass | Pass | Pass |
| Sample text | 1.4: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 #30203E looks to people with the most common types of color vision deficiency.
#19263fProtanopia
no red cones#1d273dDeuteranopia
no green cones#2e252cTritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #30203e; }
.text { color: #30203e; }
.border { border: 2px solid #30203e; }
.transparent { background-color: rgb(48 32 62 / 50%); }
.gradient { background: linear-gradient(to right, #30203e, #3e203d); }
Similar colors
#2a2243Midnight Velvet#301934Dark Purple#3c2f4eSanctum of Shadows#372d52Midnight Pie#3b193fCreatures of the Night#2b0f2eDark Prom Queen#442244Purple Void#222244Black Market
Questions
- What color is #30203E?
- #30203E is a very dark, desaturated violet, closest to the named color Midnight Velvet. It belongs to the purple family of colors.
- What is the RGB value of #30203E?
- The RGB value is 48, 32, 62: 48 red, 32 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #30203E?
- The complementary color is #2E3E20, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #30203E?
- White text. Black text has a contrast ratio of 1.4:1 and white text 14.98:1. WCAG asks for at least 4.5:1 for normal text.