#33126B color
The hex color #33126B is a dark, moderate violet.
In the RGB color model it is made of 20% red, 7.1% green and 42% blue (51, 18, 107).
Its hue angle is 262°, with 71% saturation and 25% lightness. For print, the CMYK equivalent is 52% cyan, 83% magenta, 0% yellow and 58% black.
The closest named color is Infinite Inkwell (#2F1064), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.59:1).
#33126B color codes
| HEX | #33126B | |
|---|---|---|
| RGB | rgb(51, 18, 107) | |
| RGB percent | rgb(20%, 7.1%, 42%) | |
| HSL | hsl(262, 71%, 25%) | |
| HSV / HSB | hsv(262, 83%, 42%) | |
| CMYK | cmyk(52%, 83%, 0%, 58%) | |
| CIE LAB | lab(16.49, 37.2, -45.18) | |
| CIE LCH | lch(16.49, 58.53, 309.46) | |
| CIE XYZ | xyz(4.235, 2.198, 14.108) | |
| Decimal | 3347051 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #33126B, 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 #33126B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.59:1 | Pass | Pass | Pass |
| #33126B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.59:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #33126B looks to people with the most common types of color vision deficiency.
#002a6dProtanopia
no red cones#002769Deuteranopia
no green cones#202c3fTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #33126b; }
.text { color: #33126b; }
.border { border: 2px solid #33126b; }
.transparent { background-color: rgb(51 18 107 / 50%); }
.gradient { background: linear-gradient(to right, #33126b, #5f126b); }
Similar colors
#2f1064Infinite Inkwell#2d135fVoldemort#3a1f76Explorer of the Galaxies#37115cWicked Purple#330077Galactic Federation#220066Blackmail#332277Deep Space Rodeo#340059Cotinga Purple
Closest common color name: Midnight Blue.
Questions
- What color is #33126B?
- #33126B is a dark, moderate violet, closest to the named color Infinite Inkwell. It belongs to the purple family of colors.
- What is the RGB value of #33126B?
- The RGB value is 51, 18, 107: 51 red, 18 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #33126B?
- The complementary color is #4A6B12, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #33126B?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.59:1. WCAG asks for at least 4.5:1 for normal text.