#210138 color
The hex color #210138 is a very dark, vivid violet.
In the RGB color model it is made of 12.9% red, 0.4% green and 22% blue (33, 1, 56).
Its hue angle is 275°, with 96% saturation and 11% lightness. For print, the CMYK equivalent is 41% cyan, 98% magenta, 0% yellow and 78% black.
The closest named color is Coal Mine (#220033), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.65:1).
#210138 color codes
| HEX | #210138 | |
|---|---|---|
| RGB | rgb(33, 1, 56) | |
| RGB percent | rgb(12.9%, 0.4%, 22%) | |
| HSL | hsl(275, 96%, 11%) | |
| HSV / HSB | hsv(275, 98%, 22%) | |
| CMYK | cmyk(41%, 98%, 0%, 78%) | |
| CIE LAB | lab(5.7, 27.62, -27.9) | |
| CIE LCH | lch(5.7, 39.26, 314.71) | |
| CIE XYZ | xyz(1.352, 0.631, 3.791) | |
| Decimal | 2163000 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #210138, 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 #210138 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.13:1 | Fail | Fail | Fail |
| Sample text | 18.65:1 | Pass | Pass | Pass |
| #210138 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.65:1 | Pass | Pass | Pass |
| Sample text | 1.13: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 #210138 looks to people with the most common types of color vision deficiency.
#001239Protanopia
no red cones#001337Deuteranopia
no green cones#1d0f1dTritanopia
no blue cones#131313Achromatopsia
no color vision
CSS examples
.background { background-color: #210138; }
.text { color: #210138; }
.border { border: 2px solid #210138; }
.transparent { background-color: rgb(33 1 56 / 50%); }
.gradient { background: linear-gradient(to right, #210138, #380133); }
Similar colors
#220033Coal Mine#220044Your Darkness#160435Quiet Abyss#1c0f33Midnight Monarch#3b0346Romanic Scene#330055Hollow Knight#0f084bSilent Twilight#340059Cotinga Purple
Closest common color name: Dark Purple.
Questions
- What color is #210138?
- #210138 is a very dark, vivid violet, closest to the named color Coal Mine. It belongs to the black family of colors.
- What is the RGB value of #210138?
- The RGB value is 33, 1, 56: 33 red, 1 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #210138?
- The complementary color is #183801, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #210138?
- White text. Black text has a contrast ratio of 1.13:1 and white text 18.65:1. WCAG asks for at least 4.5:1 for normal text.