Recognised as Colour
#2D1F55
- #2D1F55
- Violet
- Dark
- Nearest: Dark slateblue
#2D1F55 is a violet with RGB values 45, 31, 85 and HSL 256°, 47%, 23%. It is a dark colour, so white text on it reaches 14.6:1 contrast (AAA for normal text). The nearest named colour is Dark slateblue.
Colour values
#2D1F55#2D1F55
HEX#2D1F55
RGBrgb(45, 31, 85)
RGB (0–1)0.1765, 0.1216, 0.3333
RGB percentages17.6%, 12.2%, 33.3%
HSLhsl(255.6, 46.6%, 22.7%)
HSV / HSBhsv(255.6, 63.5%, 33.3%)
CMYK47.1%, 63.5%, 0%, 66.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,957,141
CSS custom property--colour: #2D1F55;
Brightness & contrast
Relative luminance0.02194WCAG 2.x, 0 is black and 1 is white
Perceived brightness44.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.6:1
Contrast with white14.6:1WCAG normal text: AAA
Contrast with black1.44:1WCAG normal text: Fail
Greyscale equivalent#262626
Inverted#D2E0AA
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text14.6:1WCAG large text: AAA
Contrast with black, large text1.44:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#47551F
Analogous#1F2C55, #481F55
Triadic#552D1F, #1F552D
Split complementary#55481F, #2C551F
Tetradic#551F2C, #47551F, #1F5548
Tints, shades & saturation
Channel breakdown
R45
G31
B85
Red45 (17.6%)
Green31 (12.2%)
Blue85 (33.3%)
Hue255.56°
Saturation (HSL)46.55%
Lightness22.75%
Dominant channelBlue
Hex per channelR 2D · G 1F · B 55
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