#34303A color
The hex color #34303A is a dark, grayish violet.
In the RGB color model it is made of 20.4% red, 18.8% green and 22.7% blue (52, 48, 58).
Its hue angle is 264°, with 9% saturation and 21% lightness. For print, the CMYK equivalent is 10% cyan, 17% magenta, 0% yellow and 77% black.
The closest named color is Professor Plum (#393540), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.88:1).
#34303A color codes
| HEX | #34303A | |
|---|---|---|
| RGB | rgb(52, 48, 58) | |
| RGB percent | rgb(20.4%, 18.8%, 22.7%) | |
| HSL | hsl(264, 9%, 21%) | |
| HSV / HSB | hsv(264, 17%, 23%) | |
| CMYK | cmyk(10%, 17%, 0%, 77%) | |
| CIE LAB | lab(20.63, 4.17, -5.68) | |
| CIE LCH | lch(20.63, 7.04, 306.27) | |
| CIE XYZ | xyz(3.237, 3.149, 4.44) | |
| Decimal | 3420218 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #34303A, 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 #34303A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.88:1 | Pass | Pass | Pass |
| #34303A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.88:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #34303A looks to people with the most common types of color vision deficiency.
#2e323aProtanopia
no red cones#2f323aDeuteranopia
no green cones#333133Tritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #34303a; }
.text { color: #34303a; }
.border { border: 2px solid #34303a; }
.transparent { background-color: rgb(52 48 58 / 50%); }
.gradient { background: linear-gradient(to right, #34303a, #39303a); }
Similar colors
#393540Professor Plum#35343fWitches Cauldron#2c2a35Haiti#333344Shuriken#342931Melanzane#352b30Mystical Shadow#3f3c43Tuxedo#29292fJaguar
Closest common color name: Jet Black.
Questions
- What color is #34303A?
- #34303A is a dark, grayish violet, closest to the named color Professor Plum. It belongs to the gray family of colors.
- What is the RGB value of #34303A?
- The RGB value is 52, 48, 58: 52 red, 48 green and 58 blue on a 0 to 255 scale.
- What is the complementary color of #34303A?
- The complementary color is #363A30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #34303A?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.88:1. WCAG asks for at least 4.5:1 for normal text.