Color #2D172E Color / Colour Code #2D172E
This page shows the hex color code for color #2d172e (#2D172E). The colour is a purple tone with 33% saturation and 14% lightness. Explore its conversions, colour palettes, gradients, accessibility data, and CSS code below.
Color Conversions
Accessibility Contrast
WCAG contrast ratios for #2D172E against common backgrounds.
Complementary Colors
#2D172E paired with its color wheel opposite for maximum contrast.
Analogous Colors
Hues at 267, 297, and 327 degrees for harmonious combinations.
Triadic Palette
Three colors at 297, 57, and 177 degrees.
Color Palettes Using #2D172E
Five shades at lightness levels 15% through 85% while keeping hue at 297 and saturation at 33%. Use the darkest shade for text and the lightest for backgrounds to build a cohesive single-hue design system.
Adjacent hues from 297 to 342 degrees create a warm, unified palette. This analogous scheme works for marketing materials, seasonal campaigns, and any design that needs visual warmth without clashing colors.
Combines the base color at hue 297 with its complement at 117 and two adjacent cool tones. This split-complementary approach provides strong visual contrast while remaining more balanced than a pure complementary scheme.
Five evenly spaced hues at 40% saturation and 80% lightness. Pastels are gentle on the eyes and work well for dashboards, onboarding screens, category tags, and any interface where multiple distinct colors are needed without visual aggression.
Shades & Tints of #2D172E
Lightness variations at hue 297 and 33% saturation.
CSS Gradients with #2D172E
Design Use Cases for #2D172E
Balanced UI Color
At 33% saturation, #2D172E strikes a balance between vibrancy and restraint. This makes it versatile for primary UI elements like navigation bars, card headers, and form accents. It draws attention without overwhelming adjacent content.
Dark Mode Background
At just 14% lightness, #2D172E works as a dark mode background or overlay color. Dark backgrounds reduce eye strain in low-light environments and make bright accent colors pop. Pair with light text (minimum 4.5:1 contrast ratio) for readability.
Creativity & Premium Positioning
#2D172E falls in the purple spectrum (hue 297). Purple communicates creativity, wisdom, and luxury. It is effective for premium product highlights, creative portfolio accents, meditation app interfaces, and rewards program branding. Purple occupies a unique space between the energy of red and the calm of blue.
Gradient Pairing
Create a gradient from #2D172E (hue 297) to its complement at hue 117. For a subtler effect, try pairing with an analogous color at hue 327. Use CSS: background: linear-gradient(135deg, #2d172e, #192f18);
CSS Code for #2D172E
Similar Colors
Colors visually similar to #2D172E based on RGB, lightness, and hue variations.
Use This Color in Design Tools
Apply #2D172E across image editing and color design tools.
About Color #2D172E (#2D172E)
#2D172E is a purple color (colour) with RGB channel values of 45 red, 23 green, and 46 blue. The blue channel is dominant with a relatively balanced channel distribution. In HSL terms, the hue sits at 297 degrees with 33% saturation and 14% lightness, placing it in the cool range of the colour spectrum.
The perceived brightness of #2D172E is 32/255 using the ITU-R BT.601 luma formula (0.299R + 0.587G + 0.114B). This appears dark to the human eye, so pair it with light text for adequate readability. For print production, the CMYK equivalent is 2% cyan, 50% magenta, 0% yellow, and 82% key (black).
The WCAG contrast ratio of #2D172E against white is 16.49:1 and against black is 1.27:1. This exceeds the AAA requirement (7:1) for normal text on white, making it excellent for body text and small UI labels on light backgrounds.
The complementary colour #192F18 creates maximum visual tension when paired with #2D172E. For more harmonious color combinations, use the analogous colours #23182F and #2F1825, which sit 30 degrees on either side of the hue wheel. To build a complete design system, start with the monochromatic scale above for consistent shade variations, then add one complementary or triadic accent for interactive elements.
How to Explore Color #2D172E
- Enter your color value in HEX format.
- The tool converts it to RGB, HSL, CMYK format in real time.
- Copy the converted value to your clipboard.
What is HEX to RGB, HSL, CMYK color conversion
Converting from HEX to RGB, HSL, CMYK translates a color value between two different color models. Different color models are used in web design (HEX, RGB), print (CMYK), and color theory (HSL, HSV).
Related Tools & Colors
Frequently Asked Questions
- What color / colour is #2D172E?
- #2D172E is Color #2D172E, a purple color (colour) with RGB(45, 23, 46), HSL(297, 33%, 14%), and CMYK(2%, 50%, 0%, 82%). Its perceived brightness is 32/255.
- Is #2D172E accessible for text?
- Against white, #2D172E has a contrast ratio of 16.49:1 (passes AA for normal text). Against black, it has 1.27:1 (fails AA). Use the contrast checker tool for custom background pairings.
- What colours pair well with #2D172E?
- The complementary colour is #192F18 (hue 117). For subtle color combinations, use analogous colours #23182F and #2F1825. The triadic palette adds #2F2E18 and #182F2E for vibrant variety.
- How do I use #2D172E in CSS?
- Use any format: color: #2d172e; or rgb(45, 23, 46); or hsl(297, 33%, 14%). For CSS custom properties: --color-primary: 297 33% 14%; then use it as hsl(var(--color-primary)).
- Is this color / colour explorer free?
- Yes, completely free with no signup required. All colour calculations run in your browser. You can explore any valid hex color code, not just the pre-generated palette.