Recognised as Colour
#2F1348
- #2F1348
- Violet
- Dark
- Nearest: Midnight blue
#2F1348 is a violet with RGB values 47, 19, 72 and HSL 272°, 58%, 18%. It is a dark colour, so white text on it reaches 16.1:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#2F1348#2F1348
HEX#2F1348
RGBrgb(47, 19, 72)
RGB (0–1)0.1843, 0.0745, 0.2824
RGB percentages18.4%, 7.5%, 28.2%
HSLhsl(271.7, 58.2%, 17.8%)
HSV / HSBhsv(271.7, 73.6%, 28.2%)
CMYK34.7%, 73.6%, 0%, 71.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,085,128
CSS custom property--colour: #2F1348;
Brightness & contrast
Relative luminance0.01538WCAG 2.x, 0 is black and 1 is white
Perceived brightness38.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.06:1
Contrast with white16.06:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#1D1D1D
Inverted#D0ECB7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.06:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2C4813
Analogous#141348, #481347
Triadic#482F13, #13482F
Split complementary#464813, #134815
Tetradic#481513, #2C4813, #134648
Tints, shades & saturation
Channel breakdown
R47
G19
B72
Red47 (18.4%)
Green19 (7.5%)
Blue72 (28.2%)
Hue271.7°
Saturation (HSL)58.24%
Lightness17.84%
Dominant channelBlue
Hex per channelR 2F · G 13 · 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