Recognised as Colour
#2F0148
- #2F0148
- Violet
- Dark
- Nearest: Midnight blue
#2F0148 is a violet with RGB values 47, 1, 72 and HSL 279°, 97%, 14%. It is a dark colour, so white text on it reaches 17.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2F0148#2F0148
HEX#2F0148
RGBrgb(47, 1, 72)
RGB (0–1)0.1843, 0.0039, 0.2824
RGB percentages18.4%, 0.4%, 28.2%
HSLhsl(278.9, 97.3%, 14.3%)
HSV / HSBhsv(278.9, 98.6%, 28.2%)
CMYK34.7%, 98.6%, 0%, 71.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,080,520
CSS custom property--colour: #2F0148;
Brightness & contrast
Relative luminance0.01094WCAG 2.x, 0 is black and 1 is white
Perceived brightness35.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.23:1
Contrast with white17.23:1WCAG normal text: AAA
Contrast with black1.22:1WCAG normal text: Fail
Greyscale equivalent#101010
Inverted#D0FEB7
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text17.23:1WCAG large text: AAA
Contrast with black, large text1.22:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1A4801
Analogous#0C0148, #48013D
Triadic#482F01, #01482F
Split complementary#3E4801, #01480B
Tetradic#480B01, #1A4801, #013D48
Tints, shades & saturation
Channel breakdown
R47
G1
B72
Red47 (18.4%)
Green1 (0.4%)
Blue72 (28.2%)
Hue278.87°
Saturation (HSL)97.26%
Lightness14.31%
Dominant channelBlue
Hex per channelR 2F · G 01 · B 48
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