#23004D color
The hex color #23004D is a very dark, vivid violet.
In the RGB color model it is made of 13.7% red, 0% green and 30.2% blue (35, 0, 77).
Its hue angle is 267°, with 100% saturation and 15% lightness. For print, the CMYK equivalent is 55% cyan, 100% magenta, 0% yellow and 70% black.
The closest named color is Your Darkness (#220044), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 17.82:1).
#23004D color codes
| HEX | #23004D | |
|---|---|---|
| RGB | rgb(35, 0, 77) | |
| RGB percent | rgb(13.7%, 0%, 30.2%) | |
| HSL | hsl(267, 100%, 15%) | |
| HSV / HSB | hsv(267, 100%, 30%) | |
| CMYK | cmyk(55%, 100%, 0%, 70%) | |
| CIE LAB | lab(8.07, 35.04, -38.95) | |
| CIE LCH | lch(8.07, 52.39, 311.98) | |
| CIE XYZ | xyz(2.032, 0.893, 7.085) | |
| Decimal | 2293837 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #23004D, 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 #23004D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.18:1 | Fail | Fail | Fail |
| Sample text | 17.82:1 | Pass | Pass | Pass |
| #23004D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.82:1 | Pass | Pass | Pass |
| Sample text | 1.18: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 #23004D looks to people with the most common types of color vision deficiency.
#00184fProtanopia
no red cones#00164cDeuteranopia
no green cones#161929Tritanopia
no blue cones#181818Achromatopsia
no color vision
CSS examples
.background { background-color: #23004d; }
.text { color: #23004d; }
.border { border: 2px solid #23004d; }
.transparent { background-color: rgb(35 0 77 / 50%); }
.gradient { background: linear-gradient(to right, #23004d, #49004d); }
Similar colors
#220044Your Darkness#330055Hollow Knight#340059Cotinga Purple#0f084bSilent Twilight#0a0555Ravenclaw#220066Blackmail#2d135fVoldemort#37115cWicked Purple
Closest common color name: Midnight Blue.
Questions
- What color is #23004D?
- #23004D is a very dark, vivid violet, closest to the named color Your Darkness. It belongs to the black family of colors.
- What is the RGB value of #23004D?
- The RGB value is 35, 0, 77: 35 red, 0 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #23004D?
- The complementary color is #2A4D00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #23004D?
- White text. Black text has a contrast ratio of 1.18:1 and white text 17.82:1. WCAG asks for at least 4.5:1 for normal text.