#2D2F4A closest to Midnight Masquerade
#2D2F4A is a dark, muted purple; the closest named color is Midnight Masquerade. In the RGB color model it is made of 17.6% red, 18.4% green and 29.0% blue (rgb(45, 47, 74)). Its HSL value is 236° hue, 24% saturation and 23% lightness, and in CMYK it is 39% cyan, 36% magenta, 0% yellow and 71% black. #2D2F4A is a cool color. White text reads best on it, with a contrast ratio of 12.99:1.
#2D2F4A color conversion
- HEX
- RGB
- HSL
- HSB / HSV
- HWB
- CMYK
- XYZ
- CIELAB
- CIELCh
- CIELUV
- OKLCH
Variations of #2D2F4A
Shades
Mixed with black: richer and darker.
Tints
Mixed with white: lighter and softer.
Tones
Mixed with gray: calmer and more muted.
Hues
The same lightness and chroma, rotated around the color wheel.
Temperatures
Cooler on the left, warmer on the right.
#2D2F4A color harmonies
Split complementary
The two hues next to the complement — contrast with less tension.
Open in generator →#2D2F4A for color-blind viewers (and dogs)
How #2D2F4A appears with each type of color vision deficiency (Machado 2009 model) — and to your dog. Try the dog vision simulator →
- Dog vision 97% similarHow dogs see it · simulated as #253049
- Protanopia 98% similar1.3% of men, 0.02% of women · simulated as #27324B
- Protanomaly 98% similar1.3% of men, 0.02% of women · simulated as #28314B
- Deuteranopia 97% similar1.2% of men, 0.01% of women · simulated as #253049
- Deuteranomaly 98% similar5% of men, 0.35% of women · simulated as #28304A
- Tritanopia 92% similar0.001% of men, 0.03% of women · simulated as #253439
- Tritanomaly 97% similar0.0001% of men, 0.0001% of women · simulated as #2B3143
- Achromatopsia 90% similar0.003% of men, 0.003% of women · simulated as #313131
- Achromatomaly 93% similar0.001% of men, 0.001% of women · simulated as #303139
#2D2F4A contrast checker
Need another background? Pick any pair in the palette generator and open the contrast panel.
Colors similar to #2D2F4A
Palettes with #2D2F4A
- 8E88C07B53ABF9D2E96B2A552B2E4AB19ECEMagic Carpet to Imperial Lilac
- 54536B8C89AC807FA2C9C6EA322F4BC4C6E8Freefall to Digital Lavender
- 2A2D4B645400AB4C90AFA61980D4B6Midnight Masquerade to Cabbage
- 768DAFDEA57D008A9CFFE7DC292D47006172Heavenly Sky to Wakame Green
- FFEED93031477B5E4149AFCBPeach Cream to Viking
- 262F4B50432E5F7499B2925DDCC37FD0E5FFMidnight Masquerade to Veiling Waterfalls
#2D2F4A in CSS
/* Midnight Masquerade */
.color { color: #2D2F4A; }
.background { background-color: #2D2F4A; }
.border { border: 1px solid #2D2F4A; }
/* Other notations */
color: rgb(45 47 74);
color: hsl(236 24% 23%);
color: oklch(0.316 0.048 280.0);#2D2F4A FAQ
What color is #2D2F4A?
#2D2F4A is a dark, muted purple. Its closest named color is Midnight Masquerade. It belongs to the purple color family and is a cool color.
What is the RGB value of #2D2F4A?
#2D2F4A is rgb(45, 47, 74) in RGB, hsl(236, 24%, 23%) in HSL and cmyk(39%, 36%, 0%, 71%) in CMYK.
What is the complementary color of #2D2F4A?
The complementary color of #2D2F4A is #4A482D, which sits opposite it on the color wheel.
Which text color works on #2D2F4A?
White text has the best contrast on #2D2F4A: 12.99:1, which meets the WCAG AA requirement of 4.5:1 for normal text.
Is #2D2F4A a warm or cool color?
#2D2F4A is a cool color.