Recognised as Colour
#2D0C41
- #2D0C41
- Violet
- Dark
- Nearest: Midnight blue
#2D0C41 is a violet with RGB values 45, 12, 65 and HSL 277°, 69%, 15%. It is a dark colour, so white text on it reaches 16.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2D0C41#2D0C41
HEX#2D0C41
RGBrgb(45, 12, 65)
RGB (0–1)0.1765, 0.0471, 0.2549
RGB percentages17.6%, 4.7%, 25.5%
HSLhsl(277.4, 68.8%, 15.1%)
HSV / HSBhsv(277.4, 81.5%, 25.5%)
CMYK30.8%, 81.5%, 0%, 74.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,952,257
CSS custom property--colour: #2D0C41;
Brightness & contrast
Relative luminance0.01202WCAG 2.x, 0 is black and 1 is white
Perceived brightness34.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.93:1
Contrast with white16.93:1WCAG normal text: AAA
Contrast with black1.24:1WCAG normal text: Fail
Greyscale equivalent#171717
Inverted#D2F3BE
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.93:1WCAG large text: AAA
Contrast with black, large text1.24:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#20410C
Analogous#130C41, #410C3A
Triadic#412D0C, #0C412D
Split complementary#3A410C, #0C4113
Tetradic#41130C, #20410C, #0C3A41
Tints, shades & saturation
Channel breakdown
R45
G12
B65
Red45 (17.6%)
Green12 (4.7%)
Blue65 (25.5%)
Hue277.36°
Saturation (HSL)68.83%
Lightness15.1%
Dominant channelBlue
Hex per channelR 2D · G 0C · B 41
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page