Recognised as Colour
#2F045B
- #2F045B
- Violet
- Dark
- Nearest: Midnight blue
#2F045B is a violet with RGB values 47, 4, 91 and HSL 270°, 92%, 19%. It is a dark colour, so white text on it reaches 16.3:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2F045B#2F045B
HEX#2F045B
RGBrgb(47, 4, 91)
RGB (0–1)0.1843, 0.0157, 0.3569
RGB percentages18.4%, 1.6%, 35.7%
HSLhsl(269.7, 91.6%, 18.6%)
HSV / HSBhsv(269.7, 95.6%, 35.7%)
CMYK48.4%, 95.6%, 0%, 64.3%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,081,307
CSS custom property--colour: #2F045B;
Brightness & contrast
Relative luminance0.01447WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.29:1
Contrast with white16.29:1WCAG normal text: AAA
Contrast with black1.29:1WCAG normal text: Fail
Greyscale equivalent#131313
Inverted#D0FBA4
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.29:1WCAG large text: AAA
Contrast with black, large text1.29:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#305B04
Analogous#04045B, #5B045B
Triadic#5B2F04, #045B2F
Split complementary#5B5B04, #045B04
Tetradic#5B0404, #305B04, #045B5B
Tints, shades & saturation
Channel breakdown
R47
G4
B91
Red47 (18.4%)
Green4 (1.6%)
Blue91 (35.7%)
Hue269.66°
Saturation (HSL)91.58%
Lightness18.63%
Dominant channelBlue
Hex per channelR 2F · G 04 · B 5B
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